<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: ComponentsReflection.cs Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_components_reflection_8cs_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ComponentsReflection.cs</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_components_reflection_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">using</span> System;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">using</span> System.Collections.Generic;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">using</span> System.Collections.ObjectModel;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">using</span> System.Diagnostics;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">using</span> System.Diagnostics.Contracts;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">using</span> System.Linq;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">using</span> System.Reflection;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">using</span> System.Reflection.Emit;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">using</span> System.Runtime.CompilerServices;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">using</span> System.Text;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">using</span> System.Threading;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">using</span> System.Threading.Tasks;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">using</span> SystemSharp.Analysis;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">using</span> SystemSharp.Analysis.Msil;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">using</span> SystemSharp.Collections;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">using</span> SystemSharp.Common;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">using</span> SystemSharp.Components;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">using</span> SystemSharp.DataTypes;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="keyword">using</span> SystemSharp.Synthesis;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">using</span> SystemSharp.SysDOM;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="keyword">namespace </span>SystemSharp.Meta</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;{</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_descriptor_visitor.html">   46</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor_visitor.html">IDescriptorVisitor</a></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keywordtype">void</span> VisitComponentDescriptor(<a class="code" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html">ComponentDescriptor</a> cd);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="keywordtype">void</span> VisitFieldDescriptor(<a class="code" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html">FieldDescriptor</a> fd);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <span class="keywordtype">void</span> VisitSignalDescriptor(<a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html">SignalDescriptor</a> sd);</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <span class="keywordtype">void</span> VisitPortDescriptor(<a class="code" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html">PortDescriptor</a> pd);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="keywordtype">void</span> VisitMethodDescriptor(<a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html">MethodDescriptor</a> md);</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <span class="keywordtype">void</span> VisitProcessDescriptor(<a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html">ProcessDescriptor</a> pd);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    }</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html">   89</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html">DefaultDescriptorVisitor</a> : <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor_visitor.html">IDescriptorVisitor</a></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    {</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        <span class="keyword">public</span> delegate <span class="keywordtype">void</span> ComponentDescriptorHandler(<a class="code" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html">ComponentDescriptor</a> cd);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <span class="keyword">public</span> delegate <span class="keywordtype">void</span> FieldDescriptorHandler(<a class="code" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html">FieldDescriptor</a> fd);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="keyword">public</span> delegate <span class="keywordtype">void</span> SignalDescriptorHandler(<a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html">SignalDescriptor</a> sd);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <span class="keyword">public</span> delegate <span class="keywordtype">void</span> PortDescriptorHandler(<a class="code" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html">PortDescriptor</a> cd);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <span class="keyword">public</span> delegate <span class="keywordtype">void</span> MethodDescriptorHandler(<a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html">MethodDescriptor</a> md);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        <span class="keyword">public</span> delegate <span class="keywordtype">void</span> ProcessDescriptorHandler(<a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html">ProcessDescriptor</a> pd);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#ad29429132c923aabddab5b486ac36e0d">   98</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#ad29429132c923aabddab5b486ac36e0d">DefaultDescriptorVisitor</a>()</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        {</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;            OnComponent = (x) =&gt; { };</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;            OnField = (x) =&gt; { };</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            OnSignal = (x) =&gt; { };</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            OnPort = (x) =&gt; { };</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;            OnMethod = (x) =&gt; { };</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;            OnProcess = (x) =&gt; { };</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        }</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#ae9fc6da2d064078abd46b7f7530f4363">  111</a></span>&#160;        <span class="keyword">public</span> ComponentDescriptorHandler OnComponent { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#ab46d8c6bca3d3ec716218cbe5a0116a1">  116</a></span>&#160;        <span class="keyword">public</span> FieldDescriptorHandler OnField { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a4668efa0d7d6d5b774002cffa2dd0b9b">  121</a></span>&#160;        <span class="keyword">public</span> SignalDescriptorHandler OnSignal { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#ab0aae519bfc98e55c67ff0c7b3c0e691">  126</a></span>&#160;        <span class="keyword">public</span> PortDescriptorHandler OnPort { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a4c86e7d4eabd47e5629f86be21fd07dc">  131</a></span>&#160;        <span class="keyword">public</span> MethodDescriptorHandler OnMethod { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#acc71b697750cc2c1778cf2d7214854c3">  136</a></span>&#160;        <span class="keyword">public</span> ProcessDescriptorHandler OnProcess { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a189662cbcda3d38a02be7a8f69a337e2">  138</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a189662cbcda3d38a02be7a8f69a337e2">VisitComponentDescriptor</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html">ComponentDescriptor</a> cd)</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        {</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;            OnComponent(cd);</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        }</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a6bb7cb2af3116e9350115d572fc16db9">  143</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a6bb7cb2af3116e9350115d572fc16db9">VisitFieldDescriptor</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html">FieldDescriptor</a> fd)</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        {</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;            OnField(fd);</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        }</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#ab092ac426f17429ba64f5d7a14d1faca">  148</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#ab092ac426f17429ba64f5d7a14d1faca">VisitSignalDescriptor</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html">SignalDescriptor</a> sd)</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        {</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;            OnSignal(sd);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        }</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#abb43cbdd3c1b83af043e2978029ab2c8">  153</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#abb43cbdd3c1b83af043e2978029ab2c8">VisitPortDescriptor</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html">PortDescriptor</a> pd)</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        {</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;            OnPort(pd);</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        }</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#add6d93286c5ad2e399fd9e036b9e0a99">  158</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#add6d93286c5ad2e399fd9e036b9e0a99">VisitMethodDescriptor</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html">MethodDescriptor</a> md)</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;            OnMethod(md);</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        }</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a2e1c3400a34a29a838faff08bb3e665b">  163</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a2e1c3400a34a29a838faff08bb3e665b">VisitProcessDescriptor</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html">ProcessDescriptor</a> pd)</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        {</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;            OnProcess(pd);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        }</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    }</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    [ContractClass(typeof(ContainmentImplementorContractClass))]</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_containment_implementor.html">  173</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_containment_implementor.html">IContainmentImplementor</a></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    {</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <span class="keywordtype">void</span> SetOwner(<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> owner, MemberInfo declSite, <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> indexSpec);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    }</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    [ContractClassFor(typeof(<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_containment_implementor.html">IContainmentImplementor</a>))]</div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_containment_implementor_contract_class.html">  185</a></span>&#160;    <span class="keyword">abstract</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_containment_implementor_contract_class.html">ContainmentImplementorContractClass</a> : <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_containment_implementor.html">IContainmentImplementor</a></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    {</div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_containment_implementor_contract_class.html#a7c2f3e38e2ab4c53180db0d01671c0ae">  187</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_containment_implementor_contract_class.html#a7c2f3e38e2ab4c53180db0d01671c0ae">SetOwner</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> owner, MemberInfo declSite, <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> indexSpec)</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        {</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;            Contract.Requires(owner != null);</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;            Contract.Requires(indexSpec != null);</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        }</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    }</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    [ContractClass(typeof(DescriptorContractClass))]</div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">  198</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a>: <a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_attributed.html">IAttributed</a></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    {</div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html#a34b8b1c724e8ef7c4ca71c2875d01f3a">  203</a></span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> Owner { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html#acc65aa5d4365233d4dc465de1404ead2">  208</a></span>&#160;        <span class="keywordtype">string</span> Name { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <span class="keywordtype">void</span> AddChild(<a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">InstanceDescriptor</a> desc, FieldInfo declSite, <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> indexSpec);</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        <span class="keywordtype">void</span> AddChild(<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> desc, <span class="keywordtype">string</span> name);</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html#af8d90c72466ee9f0ef8df4f290fd6638">  228</a></span>&#160;        IEnumerable&lt;DescriptorBase&gt; Children { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        T Canonicalize&lt;T&gt;(T child) where T : <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a>;</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    }</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    [ContractClassFor(typeof(IDescriptor))]</div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html">  240</a></span>&#160;    <span class="keyword">abstract</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html">DescriptorContractClass</a> : </div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    {</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> Owner</div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a3739b21f861300b655bf895b93c73fa6">  244</a></span>&#160;        {</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException(); }</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        }</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a9d35da10624d4b8efc8f694760de9ff6">  249</a></span>&#160;        {</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException(); }</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        }</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div>
<div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a92c6e158ed2b1f9a7a82606b59134bc8">  253</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a92c6e158ed2b1f9a7a82606b59134bc8">AddChild</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">InstanceDescriptor</a> desc, FieldInfo declSite, <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> indexSpec)</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        {</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(desc != null);</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(indexSpec != null);</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        }</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div>
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a545a3aa0b68b04d266c88009c211a0ca">  259</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a545a3aa0b68b04d266c88009c211a0ca">AddChild</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> desc, <span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;        {</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(desc != null);</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(name != null);</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        }</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;DescriptorBase&gt; Children</div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a17c2cab4429bac5a55d6022caefdd792">  266</a></span>&#160;        {</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;            <span class="keyword">get</span> </div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;            {</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;                Contract.Ensures(Contract.Result&lt;IEnumerable&lt;DescriptorBase&gt;&gt;() != null);</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;                <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException(); </div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;            }</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;        }</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div>
<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a3ddfbb6c63d01afde4c65a9932455878">  274</a></span>&#160;        <span class="keyword">public</span> T Canonicalize&lt;T&gt;(T child) where T : <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a></div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;        {</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(child != null);</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;            Contract.Ensures(child.Equals(Contract.Result&lt;T&gt;()));</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;            <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException();</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;        }</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;</div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a83b7e46228671e32d83de6ace2d985ff">  281</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a83b7e46228671e32d83de6ace2d985ff">AddAttribute</a>(<span class="keywordtype">object</span> attr)</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        {</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;            <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException();</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;        }</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a2a88ab40c9727ef0c7475a6565287ccc">  286</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> RemoveAttribute&lt;T&gt;()</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        {</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;            <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException();</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;        }</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;</div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#afeae71dc1c87bb6e77dedea6ccf724e1">  291</a></span>&#160;        <span class="keyword">public</span> T QueryAttribute&lt;T&gt;()</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        {</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;            <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException();</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        }</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div>
<div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a575cf8280e901bf869edcba72db0c7db">  296</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> HasAttribute&lt;T&gt;()</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        {</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;            <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException();</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        }</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;object&gt; Attributes</div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#adf1fe64212ff6220ec4c61ed4fa439e0">  302</a></span>&#160;        {</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException(); }</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        }</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#af510b9967586c783901f7a15cd3ef802">  306</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#af510b9967586c783901f7a15cd3ef802">CopyAttributesFrom</a>(<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_attributed.html">IAttributed</a> other)</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        {</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;            <span class="keywordflow">throw</span> <span class="keyword">new</span> NotImplementedException();</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;        }</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    }</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div>
<div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_document.html">  315</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_document.html">Document</a></div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    {</div>
<div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_document.html#a106e64a5f09412d1342b4dca1868fe97">  320</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div>
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_document.html#a9840e43095f58d160c80ed6dcad9feb9">  325</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> Content { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div>
<div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_document.html#a2c0bc4f0d247dd7dad6af23c30aa4795">  332</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_document.html#a2c0bc4f0d247dd7dad6af23c30aa4795">Document</a>(<span class="keywordtype">string</span> name, <span class="keywordtype">object</span> content)</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;        {</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;            Name = name;</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;            Content = content;</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        }</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    }</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;</div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_documentation.html">  343</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_documentation.html">Documentation</a></div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;    {</div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_documentation.html#a363c56f9ce357ed73ec96c8120284a0c">  348</a></span>&#160;        <span class="keyword">public</span> List&lt;Document&gt; Documents { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;</div>
<div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_documentation.html#a331ea2d76408a53648e23438f68f4264">  353</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_documentation.html#a331ea2d76408a53648e23438f68f4264">Documentation</a>()</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;        {</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;            Documents = <span class="keyword">new</span> List&lt;Document&gt;();</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;        }</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    }</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;</div>
<div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">  362</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> :</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;        <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_attributed_object.html">AttributedObject</a>,</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a></div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    {</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;        <span class="keyword">private</span> Dictionary&lt;DescriptorBase, DescriptorBase&gt; _children = <span class="keyword">new</span> Dictionary&lt;DescriptorBase, DescriptorBase&gt;();</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div>
<div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a874f66f2d80c6e3931aec51883407ce2">  371</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> Owner { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">string</span> _name;</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;        <span class="keyword">public</span> <span class="keyword">virtual</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a8453a32a38275939abdbbdb4d432ad3b">  379</a></span>&#160;        {</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _name; }</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;        }</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div>
<div class="line"><a name="l00386"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#ad80073d086e4c2e9eed2d8bbd35b6841">  386</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#ad80073d086e4c2e9eed2d8bbd35b6841">DescriptorBase</a>()</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        {</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;            _name = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;        }</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div>
<div class="line"><a name="l00391"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a5e7a5551de1d315f389571d2fc4d4b77">  391</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a5e7a5551de1d315f389571d2fc4d4b77">ToString</a>()</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;        {</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;            <span class="keywordflow">return</span> Name;</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;        }</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;</div>
<div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a49c2d22f03fbc590b6e8b49c24b553ea">  396</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a49c2d22f03fbc590b6e8b49c24b553ea">AddChild</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">InstanceDescriptor</a> desc, FieldInfo declSite, <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> indexSpec)</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;        {</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;            desc.Index = indexSpec;</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;            <span class="keywordflow">if</span> (declSite != null)</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;                AddChild(desc, declSite.<a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#ab240576cb19c6779e0006545a35932f9">Name</a>);</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;                AddChild(desc, desc.<a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#ab240576cb19c6779e0006545a35932f9">Name</a>);</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        }</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;</div>
<div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a0973a5e0f5fd08726533cba0725ec2df">  405</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a0973a5e0f5fd08726533cba0725ec2df">AddChild</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> desc, <span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        {</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;            desc.Owner = <span class="keyword">this</span>;</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;            desc._name = name;</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;            _children[desc] = desc;</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        }</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;</div>
<div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a52aa96c099f881cec83c8edb735a9309">  416</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a52aa96c099f881cec83c8edb735a9309">RemoveChild</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> desc)</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;        {</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;            _children.Remove(desc);</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;        }</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;DescriptorBase&gt; Children</div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a7ab9637e8d0197222832ab173752c0e9">  422</a></span>&#160;        {</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _children.Values; }</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;        }</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div>
<div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a58cee3eb9e97b23ea72caf4b30f7851d">  426</a></span>&#160;        <span class="keyword">public</span> T Canonicalize&lt;T&gt;(T child) where T : <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a></div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;        {</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> clone;</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;            <span class="keywordflow">if</span> (_children.TryGetValue(child, out clone))</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;            {</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;                <span class="keywordflow">return</span> (T)clone;</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;            }</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;            {</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;                AddChild(child, child.Name);</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;                <span class="keywordflow">return</span> child;</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;            }</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;        }</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;</div>
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a659fe5e7e7ccc2c4edf257f3785312f5">  443</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html">DesignDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a659fe5e7e7ccc2c4edf257f3785312f5">GetDesign</a>()</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;        {</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> cur = <span class="keyword">this</span>;</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;            <span class="keywordflow">while</span> (!(cur is <a class="code" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html">DesignDescriptor</a>))</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;                cur = cur.Owner;</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;            <span class="keywordflow">return</span> (DesignDescriptor)cur;</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;        }</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div>
<div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a91d4c1d0c846b6069ee876e99dbbd556">  451</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> IsActive { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;</div>
<div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#ab52954b2eb8ee36ef4b986d5ae4b787e">  456</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_documentation.html">Documentation</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#ab52954b2eb8ee36ef4b986d5ae4b787e">GetDocumentation</a>()</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;        {</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_documentation.html">Documentation</a> doc;</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;            <span class="keywordflow">if</span> (!HasAttribute&lt;Documentation&gt;())</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;            {</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;                doc = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_documentation.html">Documentation</a>();</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;                AddAttribute(doc);</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;            }</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;            {</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;                doc = QueryAttribute&lt;Documentation&gt;();</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;            }</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;            <span class="keywordflow">return</span> doc;</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;        }</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    }</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;</div>
<div class="line"><a name="l00475"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html">  475</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html">Descriptors</a></div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;    {</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;        <span class="keyword">private</span> <span class="keyword">static</span> IEnumerable&lt;T&gt; SelectChildren&lt;T&gt;(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me) where T : <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a></div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;        {</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;            <span class="keywordflow">return</span> from <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> d in me.Children</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;                   where d is T</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;                   select (T)d;</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;        }</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;        <span class="keyword">private</span> <span class="keyword">static</span> IEnumerable&lt;T&gt; SelectChildrenOrdered&lt;T&gt;(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;            where T : <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a>, <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_ordered.html">IOrdered</a></div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;        {</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;            <span class="keywordflow">return</span> from DescriptorBase d in me.Children</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;                   where d is T</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;                   orderby ((T)d).Order</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;                   select (T)d;</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;        }</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;</div>
<div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a824f5611e60ab84dfd8ed3a3d83d0eef">  496</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;TypeDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a824f5611e60ab84dfd8ed3a3d83d0eef">GetTypes</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;        {</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;TypeDescriptor&gt;(me);</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;        }</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;</div>
<div class="line"><a name="l00504"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a4e3e8ce1c8ebc7a9d19f780e99b53b44">  504</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;FieldDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a4e3e8ce1c8ebc7a9d19f780e99b53b44">GetFields</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;        {</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;FieldDescriptor&gt;(me);</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;        }</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;</div>
<div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a624d7593b7673e30468fd24177478534">  512</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;FieldDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a624d7593b7673e30468fd24177478534">GetVariables</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;        {</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;            <span class="keywordflow">return</span> GetFields(me).Where(fd =&gt; !fd.IsConstant);</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;        }</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;</div>
<div class="line"><a name="l00520"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a369d61443966677db43aeb66a5cbc664">  520</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;FieldDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a369d61443966677db43aeb66a5cbc664">GetConstants</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;        {</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;            <span class="keywordflow">return</span> GetFields(me).Where(fd =&gt; fd.IsConstant);</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;        }</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;</div>
<div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a8428e654178faf389c6493967e1e8d3a">  528</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;IComponentDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a8428e654178faf389c6493967e1e8d3a">GetChildComponents</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;        {</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;IComponentDescriptor&gt;(me);</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;        }</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;</div>
<div class="line"><a name="l00536"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#aeda8b2a55a0767207cab9e2d0b4cb38d">  536</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;ChannelDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#aeda8b2a55a0767207cab9e2d0b4cb38d">GetChannels</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;        {</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;ChannelDescriptor&gt;(me);</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;        }</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;</div>
<div class="line"><a name="l00544"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#acecea4211eaebc3346a8d9aadb57c320">  544</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;ISignalDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#acecea4211eaebc3346a8d9aadb57c320">GetSignals</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;        {</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;ISignalDescriptor&gt;(me);</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;        }</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;</div>
<div class="line"><a name="l00552"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a18fd732487e9bdceef54f476868c04c4">  552</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;IPortDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a18fd732487e9bdceef54f476868c04c4">GetPorts</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;        {</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;IPortDescriptor&gt;(me);</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;        }</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;</div>
<div class="line"><a name="l00560"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a45c4ce519585aa27144a86b0683eda71">  560</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;SignalArgumentDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a45c4ce519585aa27144a86b0683eda71">GetSignalArguments</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;        {</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;SignalArgumentDescriptor&gt;(me);</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;        }</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;</div>
<div class="line"><a name="l00568"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a7400fbc6539834702a48e6ced40095b8">  568</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;MethodDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a7400fbc6539834702a48e6ced40095b8">GetMethods</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;        {</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;MethodDescriptor&gt;(me);</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;        }</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;</div>
<div class="line"><a name="l00576"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#aeaf5f74e873081c19b6f241b0ad8e446">  576</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;MethodDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#aeaf5f74e873081c19b6f241b0ad8e446">GetActiveMethods</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;        {</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;MethodDescriptor&gt;(me).Where(md =&gt; md.IsActive);</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;        }</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;</div>
<div class="line"><a name="l00584"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a065c351473d738d1a6d2532a0e8ad30e">  584</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;ProcessDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a065c351473d738d1a6d2532a0e8ad30e">GetProcesses</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;        {</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;ProcessDescriptor&gt;(me);</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;        }</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;</div>
<div class="line"><a name="l00592"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a938407f0204a41f5d5633f8b597d8ca3">  592</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;ArgumentDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a938407f0204a41f5d5633f8b597d8ca3">GetArguments</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;        {</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;            <span class="keywordflow">return</span> SelectChildrenOrdered&lt;ArgumentDescriptor&gt;(me);</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;        }</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;</div>
<div class="line"><a name="l00600"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a013b5c21aee602334b639140a1eb1412">  600</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;PackageDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a013b5c21aee602334b639140a1eb1412">GetPackages</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;        {</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;            <span class="keywordflow">return</span> SelectChildren&lt;PackageDescriptor&gt;(me);</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;        }</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;</div>
<div class="line"><a name="l00608"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#ae60bdad2e7ef67ab65881a771a1a4cb1">  608</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html">ProcessDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#ae60bdad2e7ef67ab65881a771a1a4cb1">FindProcess</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me, <span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;        {</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;            <span class="keywordflow">return</span> GetProcesses(me).Where(p =&gt; p.Name == name).FirstOrDefault();</div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;        }</div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;</div>
<div class="line"><a name="l00616"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a67b0a76d146516d128cb8a86265575e8">  616</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html">MethodDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a67b0a76d146516d128cb8a86265575e8">FindMethod</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me, <span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;        {</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;            <span class="keywordflow">return</span> GetMethods(me).Where(p =&gt; p.Name == name).FirstOrDefault();</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;        }</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;</div>
<div class="line"><a name="l00624"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#add2e26a75b39547e4dcb685b84489089">  624</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html">MethodDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#add2e26a75b39547e4dcb685b84489089">FindMethod</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me, MethodBase method)</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;        {</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;            <span class="keywordflow">return</span> GetMethods(me).Where(p =&gt; p.Method.Equals(method)).FirstOrDefault();</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;        }</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;</div>
<div class="line"><a name="l00632"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a8b44231d043816b913a2581ed8f7d299">  632</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a8b44231d043816b913a2581ed8f7d299">FindComponent</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me, <span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;        {</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;            <span class="keywordflow">return</span> GetChildComponents(me).Where(c =&gt; c.Name == name).FirstOrDefault();</div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;        }</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;</div>
<div class="line"><a name="l00640"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a3c33c56243edb7b8fb5957d54dce2de2">  640</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html">FieldDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a3c33c56243edb7b8fb5957d54dce2de2">FindField</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me, <span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;        {</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;            <span class="keywordflow">return</span> GetFields(me).Where(f =&gt; f.Name == name).FirstOrDefault();</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;        }</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;</div>
<div class="line"><a name="l00648"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#ad7be9031fbff2120e4651eea7ce1adbc">  648</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html">IPortDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#ad7be9031fbff2120e4651eea7ce1adbc">FindPort</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> me, <span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;        {</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;            <span class="keywordflow">return</span> me.GetPorts().Where(p =&gt; p.Name == name).FirstOrDefault();</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;        }</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;</div>
<div class="line"><a name="l00656"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a6e41b6f2d300bbd82a9ab9397025c17a">  656</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_descriptor.html">ISignalDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a6e41b6f2d300bbd82a9ab9397025c17a">FindSignal</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> me, <span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;        {</div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;            <span class="keywordflow">return</span> me.GetSignals().Where(s =&gt; s.Name == name).FirstOrDefault();</div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;        }</div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;</div>
<div class="line"><a name="l00664"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a6d58ad7d577a9dfe09dc41178a4ee7b9">  664</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptors.html#a6d58ad7d577a9dfe09dc41178a4ee7b9">GetFullName</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> me)</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;        {</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;            <span class="keywordtype">string</span> result = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;            <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a> cur = me;</div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;            <span class="keywordflow">do</span></div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;            {</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;                <span class="keywordflow">if</span> (result.Length &gt; 0)</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;                    result = <span class="stringliteral">&quot;.&quot;</span> + result;</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;                result = cur.Name + result;</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;                cur = cur.Owner;</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;            } <span class="keywordflow">while</span> (cur != null);</div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;            <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;        }</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;    }</div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;</div>
<div class="line"><a name="l00682"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">  682</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">InstanceDescriptor</a> :</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a></div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;    {</div>
<div class="line"><a name="l00689"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a7e0dcb1928a44e6c9bdcf621defd620c">  689</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a7e0dcb1928a44e6c9bdcf621defd620c">InstanceDescriptor</a>(<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a> instance)</div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;        {</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;            Instance = instance;</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;            Index = IndexSpec.Empty;</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;        }</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;</div>
<div class="line"><a name="l00698"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a875707ce81ad2e03e87b9437184e1d49">  698</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a> Instance { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> _index;</div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;</div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> Index</div>
<div class="line"><a name="l00706"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a06820db6ec3884be26458191f3c7dfca">  706</a></span>&#160;        {</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _index; }</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;            <span class="keyword">internal</span> set</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;            {</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;                Contract.Requires(value != null);</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;                _index = value;</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;            }</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;        }</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l00716"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#ab240576cb19c6779e0006545a35932f9">  716</a></span>&#160;        {</div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;            {</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;                <span class="keywordtype">string</span> name = base.Name;</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;                <span class="keywordflow">if</span> ((name == null || name == <span class="stringliteral">&quot;&quot;</span>) &amp;&amp; Owner != null)</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;                    name = Owner.Name;</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;                <span class="keywordflow">return</span> name;</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;            }</div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;        }</div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;</div>
<div class="line"><a name="l00726"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a2ac096a29a845da1ef4ebf0a07530541">  726</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a2ac096a29a845da1ef4ebf0a07530541">ToString</a>()</div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;        {</div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;            StringBuilder sb = <span class="keyword">new</span> StringBuilder();</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;            sb.Append(Name);</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;            <span class="keywordflow">if</span> (Index != null &amp;&amp; Index.Indices.Length &gt; 0)</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;            {</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;                sb.Append(<span class="stringliteral">&quot;(&quot;</span>);</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;                sb.Append(Index.ToString());</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;                sb.Append(<span class="stringliteral">&quot;)&quot;</span>);</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;            }</div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;            <span class="keywordflow">return</span> sb.ToString();</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;        }</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;</div>
<div class="line"><a name="l00739"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a850c00fcb0eeedc32c5346718f606564">  739</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">InstanceDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a850c00fcb0eeedc32c5346718f606564">RemoveIndex</a>()</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;        {</div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;            <span class="keywordflow">if</span> (Index.Indices.Length == 0)</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">this</span>;</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;            <span class="keywordflow">return</span> (<a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">InstanceDescriptor</a>)Owner;</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;        }</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;    }</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;</div>
<div class="line"><a name="l00752"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_instance_descriptor_3_01_object_type_01_4.html">  752</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span>IInstanceDescriptor&lt;ObjectType&gt; : <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a></div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;    {</div>
<div class="line"><a name="l00757"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_instance_descriptor_3_01_object_type_01_4.html#a115487b962739052a4057ab65fe6eef5">  757</a></span>&#160;        ObjectType Instance { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">InstanceDescriptor</a> RemoveIndex();</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;    }</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;</div>
<div class="line"><a name="l00768"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">  768</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a></div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;    {</div>
<div class="line"><a name="l00773"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html#a0bd97647199ee83c6282575c7f1b29ba">  773</a></span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> Descriptor { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;    }</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;</div>
<div class="line"><a name="l00779"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_descriptive_3_01_desc_type_01_4.html">  779</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a>&lt;DescType&gt; :</div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a></div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;    {</div>
<div class="line"><a name="l00785"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_descriptive_3_01_desc_type_01_4.html#a3d3f6c5249abbe5f6a4fe5de15379fa3">  785</a></span>&#160;        <span class="keyword">new</span> DescType Descriptor { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;    }</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;</div>
<div class="line"><a name="l00791"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html">  791</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html">FieldDescriptor</a> : <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a></div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;    {</div>
<div class="line"><a name="l00796"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html#ad225c405785c90c49b79238fc9505190">  796</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> Type { <span class="keyword">get</span>; <span class="keyword">protected</span> set; }</div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;</div>
<div class="line"><a name="l00801"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html#a15291a4220526aa60ab0329a2a34483d">  801</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> TypeIsGuessed { <span class="keyword">get</span>; <span class="keyword">protected</span> set; }</div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;</div>
<div class="line"><a name="l00806"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html#adb1e57d00ae7bfb4b6b5708c58bd34ec">  806</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> IsConstant { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;</div>
<div class="line"><a name="l00811"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html#affe3a53d89fd4c7327112d904609b0e5">  811</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> ConstantValue { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;</div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;        <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keywordtype">bool</span> IsReadInCurrentContext(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> context);</div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;</div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;        <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keywordtype">bool</span> IsWrittenInCurrentContext(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> context);</div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;</div>
<div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160;        <span class="keyword">internal</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html">FieldDescriptor</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> type)</div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;        {</div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;            Type = type;</div>
<div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;        }</div>
<div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;</div>
<div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> UpgradeType(TypeDescriptor type)</div>
<div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;        {</div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;            Contract.Requires(type != null);</div>
<div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;            Contract.Requires(Type == null || Type.CILType.Equals(type.CILType));</div>
<div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;</div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;            <span class="keywordflow">if</span> (Type == null || !Type.IsComplete || TypeIsGuessed)</div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;            {</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;                Type = type;</div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;                ConstantValue = type.GetSampleInstance(ETypeCreationOptions.AnyObject);</div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;                TypeIsGuessed = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;            }</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;        }</div>
<div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;</div>
<div class="line"><a name="l00848"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html#a36dda951c768df7916f944bd95715d37">  848</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keywordtype">object</span> Value { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;</div>
<div class="line"><a name="l00853"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html#a0e748f75d3e3a2b2bf66d926c17d5d29">  853</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keywordtype">bool</span> IsStatic { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;    }</div>
<div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;</div>
<div class="line"><a name="l00859"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html">  859</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html">CILFieldDescriptor</a> : <a class="code" href="class_system_sharp_1_1_meta_1_1_field_descriptor.html">FieldDescriptor</a></div>
<div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;    {</div>
<div class="line"><a name="l00864"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a0e9a950248721a237f461732e8c3a727">  864</a></span>&#160;        <span class="keyword">public</span> FieldInfo Field { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;</div>
<div class="line"><a name="l00869"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a46788b1dcd95cb0a61c66a249aa4094b">  869</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> Instance { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;</div>
<div class="line"><a name="l00876"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#aef981ef270252f94a4cc6e5e8d7ce7f9">  876</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#aef981ef270252f94a4cc6e5e8d7ce7f9">CILFieldDescriptor</a>(FieldInfo field, <span class="keywordtype">object</span> instance) :</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;            base(field.FieldType)</div>
<div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;        {</div>
<div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;            Contract.Requires(field != null);</div>
<div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;</div>
<div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;            Field = field;</div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;            Instance = instance;</div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;</div>
<div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;            var attrs = field.GetCustomAttributes(<span class="keyword">false</span>);</div>
<div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;            <span class="keywordflow">foreach</span> (var attr <span class="keywordflow">in</span> attrs)</div>
<div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160;                AddAttribute(attr);</div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;</div>
<div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;            <span class="keywordflow">if</span> (field.IsStatic || instance != null)</div>
<div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;            {</div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;                <span class="keywordflow">try</span></div>
<div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;                {</div>
<div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;                    <span class="keywordtype">object</span> curValue = field.GetValue(instance);</div>
<div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;                    ConstantValue = curValue;</div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;                    <span class="keywordflow">if</span> (curValue != null)</div>
<div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;                    {</div>
<div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;                        Type = TypeDescriptor.GetTypeOf(curValue);</div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;                        TypeIsGuessed = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;                    }</div>
<div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;                }</div>
<div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;                <span class="keywordflow">catch</span> (Exception)</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;                {</div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;                }</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;            }</div>
<div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;        }</div>
<div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;</div>
<div class="line"><a name="l00906"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a7297dcd125d6526cc6bb126b45cfa2f5">  906</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> Name { <span class="keyword">get</span> { <span class="keywordflow">return</span> Field.Name; } }</div>
<div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;</div>
<div class="line"><a name="l00908"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a8a85570fbab8cad9ef73feae2ab4a5e8">  908</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a8a85570fbab8cad9ef73feae2ab4a5e8">ToString</a>()</div>
<div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;        {</div>
<div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;            <span class="keywordflow">return</span> Field.Name + <span class="stringliteral">&quot;: &quot;</span> + Type.ToString();</div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;        }</div>
<div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;</div>
<div class="line"><a name="l00916"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#ad28224dbb99782f7b88f68bcc3b3d3f1">  916</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#ad28224dbb99782f7b88f68bcc3b3d3f1">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;        {</div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;            <span class="keywordflow">if</span> (obj is <a class="code" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html">CILFieldDescriptor</a>)</div>
<div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;            {</div>
<div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;                var fd = (CILFieldDescriptor)obj;</div>
<div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;                <span class="keywordflow">return</span> Field.Equals(fd.Field) &amp;&amp; Instance == fd.Instance;</div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;            }</div>
<div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;            {</div>
<div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;            }</div>
<div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;        }</div>
<div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;</div>
<div class="line"><a name="l00929"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#ac0bc6d0542f20c2ea9296989af2fb9e4">  929</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#ac0bc6d0542f20c2ea9296989af2fb9e4">GetHashCode</a>()</div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;        {</div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;            <span class="keywordflow">return</span> Field.GetHashCode() ^</div>
<div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;                (Instance == null ? 0 : Instance.GetHashCode());</div>
<div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;        }</div>
<div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;</div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">object</span> Value</div>
<div class="line"><a name="l00939"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a4a0fb5663c97b1c942910974004d59ef">  939</a></span>&#160;        {</div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Field.GetValue(Instance); }</div>
<div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;        }</div>
<div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;</div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> IsStatic</div>
<div class="line"><a name="l00947"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a03eac01d94bc73927de6054e0bc3a4bd">  947</a></span>&#160;        {</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Field.IsStatic; }</div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;        }</div>
<div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;</div>
<div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;<a class="code" href="class_system_sharp_1_1_components_1_1_process.html">SystemSharp.Components.Process</a>&gt; DrivingProcesses</div>
<div class="line"><a name="l00955"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a038ddce2b656bfee6a0ec2e1fa6477b1">  955</a></span>&#160;        {</div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _drivingProcesses.AsEnumerable(); }</div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;        }</div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;<a class="code" href="class_system_sharp_1_1_components_1_1_process.html">SystemSharp.Components.Process</a>&gt; ReadingProcesses</div>
<div class="line"><a name="l00963"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a8c5b7205f856fb2d9284514f1cddd55f">  963</a></span>&#160;        {</div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _readingProcesses.AsEnumerable(); }</div>
<div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;        }</div>
<div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;</div>
<div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;        <span class="keyword">private</span> HashSet&lt;<a class="code" href="class_system_sharp_1_1_components_1_1_process.html">SystemSharp.Components.Process</a>&gt; _drivingProcesses = <span class="keyword">new</span> HashSet&lt;<a class="code" href="class_system_sharp_1_1_components_1_1_process.html">Components.Process</a>&gt;();</div>
<div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;        <span class="keyword">private</span> HashSet&lt;<a class="code" href="class_system_sharp_1_1_components_1_1_process.html">SystemSharp.Components.Process</a>&gt; _readingProcesses = <span class="keyword">new</span> HashSet&lt;<a class="code" href="class_system_sharp_1_1_components_1_1_process.html">Components.Process</a>&gt;();</div>
<div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;</div>
<div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> AddDriver(SystemSharp.Components.Process driver)</div>
<div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;        {</div>
<div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;            _drivingProcesses.Add(driver);</div>
<div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;        }</div>
<div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;</div>
<div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">void</span> AddReader(SystemSharp.Components.Process reader)</div>
<div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;        {</div>
<div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;            _readingProcesses.Add(reader);</div>
<div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;        }</div>
<div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;</div>
<div class="line"><a name="l00980"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#ad6fd75ea16cb99971bdca9b68780ac25">  980</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#ad6fd75ea16cb99971bdca9b68780ac25">IsReadInCurrentContext</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> context)</div>
<div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;        {</div>
<div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;            <span class="keywordflow">return</span> ReadingProcesses.Contains(context.CurrentProcess);</div>
<div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;        }</div>
<div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;</div>
<div class="line"><a name="l00985"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a9348c9cad0eba8ba5616006b1db27cb8">  985</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a9348c9cad0eba8ba5616006b1db27cb8">IsWrittenInCurrentContext</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> context)</div>
<div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;        {</div>
<div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;            <span class="keywordflow">return</span> DrivingProcesses.Contains(context.CurrentProcess);</div>
<div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;        }</div>
<div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;    }</div>
<div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;</div>
<div class="line"><a name="l00995"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_channel_descriptor.html">  995</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_channel_descriptor.html">ChannelDescriptor</a> :</div>
<div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">InstanceDescriptor</a></div>
<div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;    {</div>
<div class="line"><a name="l01002"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_channel_descriptor.html#a1f1a6859c746b1c5ea0b5d83840a87eb"> 1002</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_channel_descriptor.html#a1f1a6859c746b1c5ea0b5d83840a87eb">ChannelDescriptor</a>(<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">IDescriptive</a> instance) :</div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;            base(instance)</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;        {</div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;        }</div>
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;</div>
<div class="line"><a name="l01010"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_channel_descriptor.html#aa8b081819d6b990efe578d1a67bbfed1"> 1010</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_channel.html">Channel</a> BoundChannel { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;    }</div>
<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;</div>
<div class="line"><a name="l01016"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html"> 1016</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> :</div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a></div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;    {</div>
<div class="line"><a name="l01022"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html#a2a201401dfd53a62c1a5325375a1e9b6"> 1022</a></span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> InstanceType { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;</div>
<div class="line"><a name="l01027"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html#a9f97a252c284d879d633cb4bc3d81961"> 1027</a></span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> ElementType { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;</div>
<div class="line"><a name="l01032"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html#a215980b6e58f6d29259c9ed2f05adcaf"> 1032</a></span>&#160;        <span class="keywordtype">object</span> InitialValue { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;    }</div>
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;</div>
<div class="line"><a name="l01038"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_signal_descriptor.html"> 1038</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_descriptor.html">ISignalDescriptor</a> :</div>
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a>,</div>
<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160;        IInstanceDescriptor&lt;SignalBase&gt;</div>
<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;    {</div>
<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;    }</div>
<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;</div>
<div class="line"><a name="l01047"></a><span class="lineno"><a class="line" href="namespace_system_sharp_1_1_meta.html#a400768ccf749afe72285f904fa31ccc2"> 1047</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">enum</span> <a class="code" href="namespace_system_sharp_1_1_meta.html#a400768ccf749afe72285f904fa31ccc2">EPortDirection</a></div>
<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;    {</div>
<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;        <a class="code" href="namespace_system_sharp_1_1_components.html#a1b363c1bde8fdda4245b1c5c616e328eaefeb369cccbd560588a756610865664c">In</a>,</div>
<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;        <a class="code" href="namespace_system_sharp_1_1_components.html#a1b363c1bde8fdda4245b1c5c616e328ea7c147cda9e49590f6abe83d118b7353b">Out</a>,</div>
<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;        <a class="code" href="namespace_system_sharp_1_1_components.html#a1b363c1bde8fdda4245b1c5c616e328ea47a54d9da8952a3980d27488b00a21c1">InOut</a></div>
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;    };</div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;</div>
<div class="line"><a name="l01057"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html"> 1057</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html">IPortDescriptor</a> : <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a></div>
<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;    {</div>
<div class="line"><a name="l01062"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html#a4b767484f5d1349aae32edc901cc7d34"> 1062</a></span>&#160;        <a class="code" href="namespace_system_sharp_1_1_meta.html#a400768ccf749afe72285f904fa31ccc2">EPortDirection</a> Direction { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;</div>
<div class="line"><a name="l01067"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html#a9545ed84eba4a02c1aca9c055271dd84"> 1067</a></span>&#160;        <a class="code" href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530">EPortUsage</a> Usage { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;</div>
<div class="line"><a name="l01072"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html#a8fc2b7501cb859033cac31209dab1771"> 1072</a></span>&#160;        <span class="keywordtype">string</span> Domain { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;</div>
<div class="line"><a name="l01077"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html#a60ae1351d4101109067538180f64660d"> 1077</a></span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_descriptor.html">ISignalDescriptor</a> BoundSignal { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;    }</div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;</div>
<div class="line"><a name="l01083"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html"> 1083</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html">PortDescriptor</a> :</div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a>,</div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html">IPortDescriptor</a></div>
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;    {</div>
<div class="line"><a name="l01094"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a93a0adf4c7174ff44caf448f49183a6d"> 1094</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a93a0adf4c7174ff44caf448f49183a6d">PortDescriptor</a>(</div>
<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;            PropertyInfo declSite,</div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html">SignalDescriptor</a> boundSignal,</div>
<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> elementType,</div>
<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;            <a class="code" href="namespace_system_sharp_1_1_meta.html#a400768ccf749afe72285f904fa31ccc2">EPortDirection</a> direction)</div>
<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;        {</div>
<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(declSite != null, <span class="stringliteral">&quot;declSite&quot;</span>);</div>
<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(boundSignal != null, <span class="stringliteral">&quot;boundSignal&quot;</span>);</div>
<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(elementType != null, <span class="stringliteral">&quot;elementType&quot;</span>);</div>
<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;</div>
<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;            DeclarationSite = declSite;</div>
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;            BoundSignal = boundSignal;</div>
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;            ElementType = elementType;</div>
<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;            Direction = direction;</div>
<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;            <a class="code" href="class_system_sharp_1_1_components_1_1_port_usage.html">PortUsage</a> usageAttr = DeclarationSite.GetCustomOrInjectedAttribute&lt;<a class="code" href="class_system_sharp_1_1_components_1_1_port_usage.html">PortUsage</a>&gt;();</div>
<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;            <span class="keywordflow">if</span> (usageAttr != null)</div>
<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;            {</div>
<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;                Usage = usageAttr.Usage;</div>
<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;                Domain = usageAttr.Domain;</div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;            }</div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;        }</div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;</div>
<div class="line"><a name="l01116"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a3d0aa2ddc14275d52df5f7e2323a323d"> 1116</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> Name { <span class="keyword">get</span> { <span class="keywordflow">return</span> DeclarationSite.Name; } }</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;</div>
<div class="line"><a name="l01121"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#afdc684ad50c1bfe7dacae2eac6889e89"> 1121</a></span>&#160;        <span class="keyword">public</span> PropertyInfo DeclarationSite { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;</div>
<div class="line"><a name="l01126"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a2b36de9a243cccf1fac604c0fb378ff4"> 1126</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> ElementType { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;</div>
<div class="line"><a name="l01131"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#ab5a55feff71b10f3d730b6290bec26a2"> 1131</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_meta.html#a400768ccf749afe72285f904fa31ccc2">EPortDirection</a> Direction { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;</div>
<div class="line"><a name="l01136"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a030939cc82aca18f83f4edf7659c69d5"> 1136</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530">EPortUsage</a> Usage { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;</div>
<div class="line"><a name="l01141"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#ad09e3d1dcefd92f4fcc19e9d3e623fe7"> 1141</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Domain { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;</div>
<div class="line"><a name="l01146"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a1e8d722ad789d37f2b282449356c7444"> 1146</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_descriptor.html">ISignalDescriptor</a> BoundSignal { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;</div>
<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> InstanceType</div>
<div class="line"><a name="l01152"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#aa1cd13b1c4d355a33557e79006df1a81"> 1152</a></span>&#160;        {</div>
<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;            {</div>
<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;                <span class="keywordflow">return</span> BoundSignal == null ?</div>
<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;                    (<a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>)typeof(Signal&lt;&gt;).MakeGenericType(ElementType.CILType) :</div>
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;                    BoundSignal.InstanceType;</div>
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;            }</div>
<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;        }</div>
<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;</div>
<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> InitialValue</div>
<div class="line"><a name="l01165"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#ae1feb7e8b79cf6486ec39de33ef217fd"> 1165</a></span>&#160;        {</div>
<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> BoundSignal.InitialValue; }</div>
<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;        }</div>
<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;</div>
<div class="line"><a name="l01169"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a89d20e0be19a01ae5d828040709536ad"> 1169</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a89d20e0be19a01ae5d828040709536ad">ToString</a>()</div>
<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;        {</div>
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;            StringBuilder sb = <span class="keyword">new</span> StringBuilder();</div>
<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160;            sb.Append(Name);</div>
<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;            <span class="keywordflow">return</span> sb.ToString();</div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;        }</div>
<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;    }</div>
<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;</div>
<div class="line"><a name="l01180"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html"> 1180</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html">SignalDescriptor</a> :</div>
<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_channel_descriptor.html">ChannelDescriptor</a>,</div>
<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_descriptor.html">ISignalDescriptor</a></div>
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;    {</div>
<div class="line"><a name="l01189"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#abc93790c09896150a17493ea24965e2d"> 1189</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#abc93790c09896150a17493ea24965e2d">SignalDescriptor</a>(</div>
<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;            <a class="code" href="class_system_sharp_1_1_components_1_1_signal_base.html">SignalBase</a> instance,</div>
<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> elementType) :</div>
<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;            base(instance)</div>
<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;        {</div>
<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(instance != null, <span class="stringliteral">&quot;instance&quot;</span>);</div>
<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(elementType != null, <span class="stringliteral">&quot;elementType&quot;</span>);</div>
<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;</div>
<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160;            ElementType = elementType;</div>
<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>&#160;            Index = elementType.Index;</div>
<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;        }</div>
<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;</div>
<div class="line"><a name="l01201"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#a1660fa49c35c6e701cc705f16efd0968"> 1201</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> ElementType { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160;</div>
<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> InstanceType</div>
<div class="line"><a name="l01204"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#a99ba27e9c4bd80f50a4a43a847d72685"> 1204</a></span>&#160;        {</div>
<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> TypeDescriptor.GetTypeOf(SignalInstance); }</div>
<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;        }</div>
<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;</div>
<div class="line"><a name="l01211"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#aec1768c96e5c6980e23c316770fc14af"> 1211</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_port_descriptor.html">PortDescriptor</a>[] BoundPorts { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;</div>
<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_signal_base.html">SignalBase</a> SignalInstance</div>
<div class="line"><a name="l01214"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#adad751e1ecd9b8f33bfd8ca7b5b383da"> 1214</a></span>&#160;        {</div>
<div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Instance; }</div>
<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>&#160;        }</div>
<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>&#160;</div>
<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160;        <span class="keyword">public</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_components_1_1_signal_base.html">SignalBase</a> Instance</div>
<div class="line"><a name="l01219"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#adeeaf9eb32b0e3aadd3b122ec07369a3"> 1219</a></span>&#160;        {</div>
<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> (<a class="code" href="class_system_sharp_1_1_components_1_1_signal_base.html">SignalBase</a>)base.Instance; }</div>
<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160;        }</div>
<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>&#160;</div>
<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> InitialValue</div>
<div class="line"><a name="l01224"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#a967d578a836cdaaa0064135443f83f19"> 1224</a></span>&#160;        {</div>
<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Instance.InitialValueObject; }</div>
<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>&#160;        }</div>
<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;</div>
<div class="line"><a name="l01231"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#abc0f987f4cfce81115025d6d75d1a76e"> 1231</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#abc0f987f4cfce81115025d6d75d1a76e">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;        {</div>
<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160;            <span class="keywordflow">if</span> (obj is <a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html">SignalDescriptor</a>)</div>
<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>&#160;            {</div>
<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;                SignalDescriptor other = (SignalDescriptor)obj;</div>
<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>&#160;                <span class="keywordflow">return</span> Instance == other.Instance;</div>
<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>&#160;            }</div>
<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;            {</div>
<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>&#160;            }</div>
<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>&#160;        }</div>
<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;</div>
<div class="line"><a name="l01244"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#ab0914cb55d92d47a6c47da9afbc41e45"> 1244</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#ab0914cb55d92d47a6c47da9afbc41e45">GetHashCode</a>()</div>
<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;        {</div>
<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160;            <span class="keywordflow">if</span> (Instance != null)</div>
<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160;                <span class="keywordflow">return</span> Instance.GetHashCode();</div>
<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160;                <span class="keywordflow">return</span> base.GetHashCode();</div>
<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;        }</div>
<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;</div>
<div class="line"><a name="l01252"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#a46d1fd19cbd775495e5fb18fddb3e3c6"> 1252</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#a46d1fd19cbd775495e5fb18fddb3e3c6">ToString</a>()</div>
<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>&#160;        {</div>
<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>&#160;            <span class="keywordflow">return</span> base.ToString();</div>
<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>&#160;        }</div>
<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>&#160;    }</div>
<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>&#160;</div>
<div class="line"><a name="l01261"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_ordered.html"> 1261</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_ordered.html">IOrdered</a></div>
<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>&#160;    {</div>
<div class="line"><a name="l01266"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_ordered.html#aba2fa04b423e7873053213066b48a94a"> 1266</a></span>&#160;        <span class="keywordtype">int</span> Order { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;    }</div>
<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;</div>
<div class="line"><a name="l01272"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html"> 1272</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a> :</div>
<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a>,</div>
<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_ordered.html">IOrdered</a></div>
<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160;    {</div>
<div class="line"><a name="l01279"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a65f93506ada44e4781bca6b48e03dbf6"> 1279</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">enum</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a65f93506ada44e4781bca6b48e03dbf6">EArgDirection</a></div>
<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>&#160;        {</div>
<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>&#160;            <a class="code" href="namespace_system_sharp_1_1_components.html#a1b363c1bde8fdda4245b1c5c616e328eaefeb369cccbd560588a756610865664c">In</a>, <a class="code" href="namespace_system_sharp_1_1_components.html#a1b363c1bde8fdda4245b1c5c616e328ea7c147cda9e49590f6abe83d118b7353b">Out</a>, <a class="code" href="namespace_system_sharp_1_1_components.html#a1b363c1bde8fdda4245b1c5c616e328ea47a54d9da8952a3980d27488b00a21c1">InOut</a></div>
<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>&#160;        }</div>
<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;</div>
<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;        <span class="keyword">private</span> <a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_storable_literal.html">IStorableLiteral</a> _arg;</div>
<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160;        <span class="keyword">private</span> EArgDirection _dir;</div>
<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;        <span class="keyword">private</span> <a class="code" href="namespace_system_sharp_1_1_analysis_1_1_msil.html#a414dbb6e07d44baf0e522f23507f6b04">EVariability</a> _variability;</div>
<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">int</span> _order;</div>
<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;</div>
<div class="line"><a name="l01296"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a7d6edb3e4aff071801029f97f62c4ac1"> 1296</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a7d6edb3e4aff071801029f97f62c4ac1">ArgumentDescriptor</a>(<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_storable_literal.html">IStorableLiteral</a> arg, <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a65f93506ada44e4781bca6b48e03dbf6">EArgDirection</a> dir, <a class="code" href="namespace_system_sharp_1_1_analysis_1_1_msil.html#a414dbb6e07d44baf0e522f23507f6b04">EVariability</a> variability, <span class="keywordtype">int</span> order)</div>
<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160;        {</div>
<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(arg != null, <span class="stringliteral">&quot;arg&quot;</span>);</div>
<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160;</div>
<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;            _arg = arg;</div>
<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160;            _dir = dir;</div>
<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;            _variability = variability;</div>
<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;            _order = order;</div>
<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160;        }</div>
<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>&#160;</div>
<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l01307"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a2d646c710529938af710afafd1dce682"> 1307</a></span>&#160;        {</div>
<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _arg.Name; }</div>
<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>&#160;        }</div>
<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;</div>
<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160;        <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_storable_literal.html">IStorableLiteral</a> Argument</div>
<div class="line"><a name="l01315"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a1a61ea625e9214afc7f3710b5f80cac2"> 1315</a></span>&#160;        {</div>
<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _arg; }</div>
<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>&#160;        }</div>
<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>&#160;</div>
<div class="line"><a name="l01322"></a><span class="lineno"> 1322</span>&#160;        <span class="keyword">public</span> EArgDirection Direction</div>
<div class="line"><a name="l01323"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a0d2c3d0006df8eb081e9ac4b25f1c570"> 1323</a></span>&#160;        {</div>
<div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _dir; }</div>
<div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>&#160;        }</div>
<div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>&#160;</div>
<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> Sample</div>
<div class="line"><a name="l01331"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#ae0050e8e4424c17987a5dc08ee4c3870"> 1331</a></span>&#160;        {</div>
<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _arg.Type.GetSampleInstance(ETypeCreationOptions.AnyObject); }</div>
<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>&#160;        }</div>
<div class="line"><a name="l01334"></a><span class="lineno"> 1334</span>&#160;</div>
<div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis_1_1_msil.html#a414dbb6e07d44baf0e522f23507f6b04">EVariability</a> Variability</div>
<div class="line"><a name="l01339"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a35212291f3789e8bd5c6b9603bfac471"> 1339</a></span>&#160;        {</div>
<div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _variability; }</div>
<div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>&#160;        }</div>
<div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>&#160;</div>
<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> Order</div>
<div class="line"><a name="l01347"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#ad7660c3b1e68eacee62924314a697b02"> 1347</a></span>&#160;        {</div>
<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _order; }</div>
<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>&#160;        }</div>
<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>&#160;</div>
<div class="line"><a name="l01351"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#ac0d2035d7ec308f5de8b463b9c8bdb32"> 1351</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#ac0d2035d7ec308f5de8b463b9c8bdb32">ToString</a>()</div>
<div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>&#160;        {</div>
<div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>&#160;            <span class="keywordflow">return</span> Direction + <span class="stringliteral">&quot; &quot;</span> + Argument.Type + <span class="stringliteral">&quot; &quot;</span> + Argument.Name;</div>
<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;        }</div>
<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;</div>
<div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>&#160;        <span class="keyword">class </span>ArgumentTypeAndDirectionComparer : IEqualityComparer&lt;ArgumentDescriptor&gt;</div>
<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160;        {</div>
<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>&#160;<span class="preprocessor">            #region IEqualityComparer&lt;ArgumentDescriptor&gt; Member</span></div>
<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">bool</span> Equals(<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a> x, <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a> y)</div>
<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;            {</div>
<div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;                <span class="keywordflow">if</span> (x == null &amp;&amp; y == null)</div>
<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160;                    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;                <span class="keywordflow">if</span> (x == null || y == null)</div>
<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160;                    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>&#160;                <span class="keywordflow">return</span> x.Argument.Type.Equals(y.Argument.Type) &amp;&amp;</div>
<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>&#160;                    x.<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a0d2c3d0006df8eb081e9ac4b25f1c570">Direction</a> == y.<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a0d2c3d0006df8eb081e9ac4b25f1c570">Direction</a> &amp;&amp;</div>
<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>&#160;                    x.<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a35212291f3789e8bd5c6b9603bfac471">Variability</a> == y.<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a35212291f3789e8bd5c6b9603bfac471">Variability</a> &amp;&amp;</div>
<div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>&#160;                    (x.<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a35212291f3789e8bd5c6b9603bfac471">Variability</a> != <a class="code" href="namespace_system_sharp_1_1_analysis_1_1_msil.html#a414dbb6e07d44baf0e522f23507f6b04">EVariability</a>.Constant || <span class="keywordtype">object</span>.Equals(x.<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#ae0050e8e4424c17987a5dc08ee4c3870">Sample</a>, y.<a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#ae0050e8e4424c17987a5dc08ee4c3870">Sample</a>));</div>
<div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>&#160;            }</div>
<div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>&#160;</div>
<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>&#160;            <span class="keyword">public</span> <span class="keywordtype">int</span> GetHashCode(ArgumentDescriptor obj)</div>
<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;            {</div>
<div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>&#160;                <span class="keywordflow">return</span></div>
<div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>&#160;                    obj.Argument.Type.GetHashCode() ^</div>
<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span>&#160;                    obj.Direction.GetHashCode() ^</div>
<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160;                    obj.Variability.GetHashCode() ^</div>
<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>&#160;                    (obj.Variability == <a class="code" href="namespace_system_sharp_1_1_analysis_1_1_msil.html#a414dbb6e07d44baf0e522f23507f6b04">EVariability</a>.Constant ?</div>
<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>&#160;                    (obj.Sample == null ? 0 : obj.Sample.GetHashCode()) : 0);</div>
<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>&#160;            }</div>
<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>&#160;</div>
<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>&#160;<span class="preprocessor">            #endregion</span></div>
<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>&#160;<span class="preprocessor"></span>        }</div>
<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160;</div>
<div class="line"><a name="l01389"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a55ab29c171c7e9330c0f535e1dd84346"> 1389</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> readonly IEqualityComparer&lt;ArgumentDescriptor&gt; TypeAndDirectionComparer =</div>
<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160;            <span class="keyword">new</span> ArgumentTypeAndDirectionComparer();</div>
<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160;    }</div>
<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;</div>
<div class="line"><a name="l01396"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html"> 1396</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html">SignalArgumentDescriptor</a> :</div>
<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">ArgumentDescriptor</a>,</div>
<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a></div>
<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>&#160;    {</div>
<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a65f93506ada44e4781bca6b48e03dbf6">EArgDirection</a> _flowDir;</div>
<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;</div>
<div class="line"><a name="l01410"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html#ab0d9becac2e16e7f49518b43e1afc2b0"> 1410</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html#ab0d9becac2e16e7f49518b43e1afc2b0">SignalArgumentDescriptor</a>(<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a> sref, <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a65f93506ada44e4781bca6b48e03dbf6">EArgDirection</a> dir, <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a65f93506ada44e4781bca6b48e03dbf6">EArgDirection</a> flowDir, <a class="code" href="namespace_system_sharp_1_1_analysis_1_1_msil.html#a414dbb6e07d44baf0e522f23507f6b04">EVariability</a> variability, <span class="keywordtype">int</span> order) :</div>
<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>&#160;            base(sref, dir, variability, order)</div>
<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>&#160;        {</div>
<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(sref != null, <span class="stringliteral">&quot;sref&quot;</span>);</div>
<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>&#160;            Contract.Requires&lt;ArgumentOutOfRangeException&gt;(sref.Prop == SignalRef.EReferencedProperty.Instance, </div>
<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>&#160;                <span class="stringliteral">&quot;Signal reference sref must reference signal instance.&quot;</span>);</div>
<div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>&#160;</div>
<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>&#160;            _flowDir = flowDir;</div>
<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>&#160;        }</div>
<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>&#160;</div>
<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> ElementType</div>
<div class="line"><a name="l01424"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html#a2b0c14c1bca283d5d91b9a517a5ea845"> 1424</a></span>&#160;        {</div>
<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> SignalInstance.ElementType; }</div>
<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>&#160;        }</div>
<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>&#160;</div>
<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_signal_base.html">SignalBase</a> SignalInstance</div>
<div class="line"><a name="l01432"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html#a5e15fd2236ee16df8943684f31bc5257"> 1432</a></span>&#160;        {</div>
<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> (<a class="code" href="class_system_sharp_1_1_components_1_1_signal_base.html">SignalBase</a>)Sample; }</div>
<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>&#160;        }</div>
<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>&#160;</div>
<div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> InstanceType</div>
<div class="line"><a name="l01440"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html#a7c54ceaddeb623bfbb51e62eb3b5a2c8"> 1440</a></span>&#160;        {</div>
<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Argument.Type; }</div>
<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160;        }</div>
<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;</div>
<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;        <span class="keyword">public</span> EArgDirection FlowDirection</div>
<div class="line"><a name="l01448"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html#af20e5fce374ea2ad6f036fb98c28d53b"> 1448</a></span>&#160;        {</div>
<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _flowDir; }</div>
<div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;        }</div>
<div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160;</div>
<div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> Index</div>
<div class="line"><a name="l01456"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html#a6bec5cacb9322fe60a36b852aa810349"> 1456</a></span>&#160;        {</div>
<div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> IndexSpec.Empty; }</div>
<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>&#160;        }</div>
<div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>&#160;</div>
<div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> InitialValue</div>
<div class="line"><a name="l01464"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html#a287724b49e40eb5744fc0fa48a55847a"> 1464</a></span>&#160;        {</div>
<div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> null; }</div>
<div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160;        }</div>
<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;    }</div>
<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160;</div>
<div class="line"><a name="l01472"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html"> 1472</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">abstract</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html">CodeDescriptor</a> :</div>
<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a></div>
<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160;    {</div>
<div class="line"><a name="l01478"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html"> 1478</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html">ValueRangeConstraint</a></div>
<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;        {</div>
<div class="line"><a name="l01483"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html#ac4120d14916dc8eb4dbbac82ccde72ae"> 1483</a></span>&#160;            <span class="keyword">public</span> <span class="keywordtype">bool</span> IsConstrained { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>&#160;</div>
<div class="line"><a name="l01488"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html#a7c2a1da36943f2585614fabad2ade91d"> 1488</a></span>&#160;            <span class="keyword">public</span> <span class="keywordtype">long</span> MinValue { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>&#160;</div>
<div class="line"><a name="l01493"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html#a28474ef6d065cb19e6890a2774c5b87b"> 1493</a></span>&#160;            <span class="keyword">public</span> <span class="keywordtype">long</span> MaxValue { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>&#160;</div>
<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>&#160;            <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html">ValueRangeConstraint</a>()</div>
<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;            {</div>
<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>&#160;                IsConstrained = <span class="keyword">false</span>;</div>
<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160;            }</div>
<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;</div>
<div class="line"><a name="l01505"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html#ab910cfb1867540938fcf597b1338584d"> 1505</a></span>&#160;            <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html#ab910cfb1867540938fcf597b1338584d">ValueRangeConstraint</a>(<span class="keywordtype">long</span> minValue, <span class="keywordtype">long</span> maxValue)</div>
<div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>&#160;            {</div>
<div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>&#160;                MinValue = minValue;</div>
<div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>&#160;                MaxValue = maxValue;</div>
<div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>&#160;                IsConstrained = <span class="keyword">true</span>;</div>
<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>&#160;            }</div>
<div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>&#160;</div>
<div class="line"><a name="l01515"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html#a2259cf1f8a3bf73b666287a2d8c4458c"> 1515</a></span>&#160;            <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html">ValueRangeConstraint</a> Unconstrained = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html">ValueRangeConstraint</a>();</div>
<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>&#160;        }</div>
<div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>&#160;</div>
<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>&#160;        <span class="keyword">private</span> HashSet&lt;ISignalOrPortDescriptor&gt; _drivenSignals = <span class="keyword">new</span> HashSet&lt;ISignalOrPortDescriptor&gt;();</div>
<div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>&#160;</div>
<div class="line"><a name="l01523"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#af0fcc39436677ed2f8c0c094cef2d1d9"> 1523</a></span>&#160;        <span class="keyword">public</span> MethodInfo AsyncMethod { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>&#160;</div>
<div class="line"><a name="l01528"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a223dffef12b00e67f5c3a16a168d5de7"> 1528</a></span>&#160;        <span class="keyword">public</span> MethodBase Method { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>&#160;</div>
<div class="line"><a name="l01533"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a8d913dfbb4d12e63790db27c1a45521e"> 1533</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_function.html">Function</a> Implementation { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>&#160;</div>
<div class="line"><a name="l01538"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#ab0567ef9012ef06d708874c54e3539ba"> 1538</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_function.html">Function</a> GenuineImplementation { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>&#160;</div>
<div class="line"><a name="l01543"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a3afa5c5123334ce697f7c3d5d7ba3a26"> 1543</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html">ValueRangeConstraint</a>[] ValueRangeConstraints { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>&#160;</div>
<div class="line"><a name="l01549"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a0d6b814ae600d2f6544759b5010c3129"> 1549</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a0d6b814ae600d2f6544759b5010c3129">CodeDescriptor</a>(MethodBase method)</div>
<div class="line"><a name="l01550"></a><span class="lineno"> 1550</span>&#160;        {</div>
<div class="line"><a name="l01551"></a><span class="lineno"> 1551</span>&#160;            <span class="keywordflow">if</span> (method.IsAsync())</div>
<div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>&#160;            {</div>
<div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>&#160;                AsyncMethod = (MethodInfo)method;</div>
<div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>&#160;                Method = method.UnwrapEntryPoint();</div>
<div class="line"><a name="l01555"></a><span class="lineno"> 1555</span>&#160;            }</div>
<div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l01557"></a><span class="lineno"> 1557</span>&#160;            {</div>
<div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>&#160;                Method = method;</div>
<div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>&#160;            }</div>
<div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>&#160;            _name = method.Name;</div>
<div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>&#160;        }</div>
<div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>&#160;</div>
<div class="line"><a name="l01567"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a12067632e5c4afe229fc08f0a4fe4688"> 1567</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a12067632e5c4afe229fc08f0a4fe4688">CodeDescriptor</a>(<span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>&#160;        {</div>
<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>&#160;            _name = name;</div>
<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160;        }</div>
<div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>&#160;</div>
<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">string</span> _name;</div>
<div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l01574"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a1de8ff5411a1b144b0a8de282167fcb3"> 1574</a></span>&#160;        {</div>
<div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _name; }</div>
<div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>&#160;        }</div>
<div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>&#160;</div>
<div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;ISignalOrPortDescriptor&gt; DrivenSignals</div>
<div class="line"><a name="l01582"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#aaf01c538251cfab2fd08bc2fce8db943"> 1582</a></span>&#160;        {</div>
<div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>&#160;            {</div>
<div class="line"><a name="l01585"></a><span class="lineno"> 1585</span>&#160;                Contract.Assume(_drivenSignals != null);</div>
<div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>&#160;</div>
<div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">new</span> ReadOnlyCollection&lt;ISignalOrPortDescriptor&gt;(_drivenSignals.ToList());</div>
<div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>&#160;            }</div>
<div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>&#160;        }</div>
<div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>&#160;</div>
<div class="line"><a name="l01594"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a61fb2f7d8cc185c38b674771d0cd9bb6"> 1594</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a61fb2f7d8cc185c38b674771d0cd9bb6">AddDrivenSignal</a>(<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> signal)</div>
<div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>&#160;        {</div>
<div class="line"><a name="l01596"></a><span class="lineno"> 1596</span>&#160;            _drivenSignals.Add(signal);</div>
<div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>&#160;        }</div>
<div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>&#160;</div>
<div class="line"><a name="l01599"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#ab44b3f22a7a48500e4c7b0f2afa96ef5"> 1599</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#ab44b3f22a7a48500e4c7b0f2afa96ef5">ToString</a>()</div>
<div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160;        {</div>
<div class="line"><a name="l01601"></a><span class="lineno"> 1601</span>&#160;            <span class="keywordflow">return</span> Name;</div>
<div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>&#160;        }</div>
<div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>&#160;</div>
<div class="line"><a name="l01607"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#ac9d6480b0954c5c2a836534ee6e192b7"> 1607</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#ac9d6480b0954c5c2a836534ee6e192b7">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>&#160;        {</div>
<div class="line"><a name="l01609"></a><span class="lineno"> 1609</span>&#160;            <span class="keywordflow">if</span> (obj is <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html">CodeDescriptor</a>)</div>
<div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>&#160;            {</div>
<div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>&#160;                CodeDescriptor cd = (CodeDescriptor)obj;</div>
<div class="line"><a name="l01612"></a><span class="lineno"> 1612</span>&#160;                <span class="keywordflow">return</span> Owner == cd.Owner &amp;&amp;</div>
<div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>&#160;                    Name.Equals(cd.Name);</div>
<div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>&#160;            }</div>
<div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>&#160;            {</div>
<div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l01618"></a><span class="lineno"> 1618</span>&#160;            }</div>
<div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>&#160;        }</div>
<div class="line"><a name="l01620"></a><span class="lineno"> 1620</span>&#160;</div>
<div class="line"><a name="l01621"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a61b4b57c3e1c931df0646b53b6910687"> 1621</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a61b4b57c3e1c931df0646b53b6910687">GetHashCode</a>()</div>
<div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>&#160;        {</div>
<div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>&#160;            <span class="keywordflow">return</span> Name.GetHashCode();</div>
<div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>&#160;        }</div>
<div class="line"><a name="l01625"></a><span class="lineno"> 1625</span>&#160;    }</div>
<div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>&#160;</div>
<div class="line"><a name="l01630"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html"> 1630</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html">ProcessDescriptor</a> : <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html">CodeDescriptor</a></div>
<div class="line"><a name="l01631"></a><span class="lineno"> 1631</span>&#160;    {</div>
<div class="line"><a name="l01637"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a86f659ab32f71f4a0d1a02276f074b7a"> 1637</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a86f659ab32f71f4a0d1a02276f074b7a">ProcessDescriptor</a>(MethodBase method, SystemSharp.Components.Process instance) :</div>
<div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>&#160;            base(method)</div>
<div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>&#160;        {</div>
<div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(method != null, <span class="stringliteral">&quot;method&quot;</span>);</div>
<div class="line"><a name="l01641"></a><span class="lineno"> 1641</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(instance != null, <span class="stringliteral">&quot;instance&quot;</span>);</div>
<div class="line"><a name="l01642"></a><span class="lineno"> 1642</span>&#160;</div>
<div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>&#160;            Instance = instance;</div>
<div class="line"><a name="l01644"></a><span class="lineno"> 1644</span>&#160;            Kind = instance.Kind;</div>
<div class="line"><a name="l01645"></a><span class="lineno"> 1645</span>&#160;        }</div>
<div class="line"><a name="l01646"></a><span class="lineno"> 1646</span>&#160;</div>
<div class="line"><a name="l01651"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#acdac5a9e65a1b9bfe137b1e38e7c19cd"> 1651</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#acdac5a9e65a1b9bfe137b1e38e7c19cd">ProcessDescriptor</a>(<span class="keywordtype">string</span> name) :</div>
<div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>&#160;            base(name)</div>
<div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>&#160;        {</div>
<div class="line"><a name="l01654"></a><span class="lineno"> 1654</span>&#160;        }</div>
<div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>&#160;</div>
<div class="line"><a name="l01656"></a><span class="lineno"> 1656</span>&#160;        <span class="keyword">private</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a>[] _sensitivity;</div>
<div class="line"><a name="l01657"></a><span class="lineno"> 1657</span>&#160;</div>
<div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>&#160;        <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a>[] Sensitivity</div>
<div class="line"><a name="l01662"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a8f350379f7550a3f9124a80309d3929c"> 1662</a></span>&#160;        {</div>
<div class="line"><a name="l01663"></a><span class="lineno"> 1663</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _sensitivity; }</div>
<div class="line"><a name="l01664"></a><span class="lineno"> 1664</span>&#160;            <span class="keyword">internal</span> set </div>
<div class="line"><a name="l01665"></a><span class="lineno"> 1665</span>&#160;            {</div>
<div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>&#160;                Contract.Requires&lt;ArgumentException&gt;(value != null);</div>
<div class="line"><a name="l01667"></a><span class="lineno"> 1667</span>&#160;                _sensitivity = value.Select(s =&gt; s.GetUnindexedContainer()).ToArray(); </div>
<div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>&#160;            }</div>
<div class="line"><a name="l01669"></a><span class="lineno"> 1669</span>&#160;        }</div>
<div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>&#160;</div>
<div class="line"><a name="l01674"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a2e3679cc2599d50f5fef0da57344d383"> 1674</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_process.html#abe8ad6117328f0ed4386eb9f95036615">SystemSharp.Components.Process.EProcessKind</a> Kind { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>&#160;</div>
<div class="line"><a name="l01679"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a4803113118d9f34148f58f9647d06292"> 1679</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_process.html">SystemSharp.Components.Process</a> Instance { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>&#160;</div>
<div class="line"><a name="l01684"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a8735674c8eeac56b191497652c3bacfa"> 1684</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a8735674c8eeac56b191497652c3bacfa">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>&#160;        {</div>
<div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html">ProcessDescriptor</a> pd = obj as <a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html">ProcessDescriptor</a>;</div>
<div class="line"><a name="l01687"></a><span class="lineno"> 1687</span>&#160;            <span class="keywordflow">if</span> (pd == null)</div>
<div class="line"><a name="l01688"></a><span class="lineno"> 1688</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l01689"></a><span class="lineno"> 1689</span>&#160;            <span class="keywordflow">return</span> Name.Equals(pd.Name) &amp;&amp;</div>
<div class="line"><a name="l01690"></a><span class="lineno"> 1690</span>&#160;                Owner == pd.<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a874f66f2d80c6e3931aec51883407ce2">Owner</a>;</div>
<div class="line"><a name="l01691"></a><span class="lineno"> 1691</span>&#160;        }</div>
<div class="line"><a name="l01692"></a><span class="lineno"> 1692</span>&#160;</div>
<div class="line"><a name="l01693"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a9cd0938377b0bea72ddd9534cdbe1781"> 1693</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a9cd0938377b0bea72ddd9534cdbe1781">GetHashCode</a>()</div>
<div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>&#160;        {</div>
<div class="line"><a name="l01695"></a><span class="lineno"> 1695</span>&#160;            <span class="keywordflow">return</span> Name.GetHashCode() ^ Owner.GetHashCode();</div>
<div class="line"><a name="l01696"></a><span class="lineno"> 1696</span>&#160;        }</div>
<div class="line"><a name="l01697"></a><span class="lineno"> 1697</span>&#160;    }</div>
<div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>&#160;</div>
<div class="line"><a name="l01702"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html"> 1702</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html">MethodDescriptor</a> : <a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html">CodeDescriptor</a></div>
<div class="line"><a name="l01703"></a><span class="lineno"> 1703</span>&#160;    {</div>
<div class="line"><a name="l01710"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#a143f8032111b35be079e489bd819f47a"> 1710</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#a143f8032111b35be079e489bd819f47a">MethodDescriptor</a>(</div>
<div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>&#160;            MethodBase method,</div>
<div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>&#160;            <span class="keywordtype">object</span>[] argValueSamples,</div>
<div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>&#160;            <a class="code" href="namespace_system_sharp_1_1_analysis_1_1_msil.html#a414dbb6e07d44baf0e522f23507f6b04">EVariability</a>[] argVariabilities) :</div>
<div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>&#160;            base(method)</div>
<div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>&#160;        {</div>
<div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(method != null, <span class="stringliteral">&quot;method&quot;</span>);</div>
<div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(argValueSamples != null, <span class="stringliteral">&quot;argValueSamples&quot;</span>);</div>
<div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>&#160;            Contract.Requires&lt;ArgumentNullException&gt;(argVariabilities != null, <span class="stringliteral">&quot;argVariabilities&quot;</span>);</div>
<div class="line"><a name="l01719"></a><span class="lineno"> 1719</span>&#160;            Contract.Requires&lt;ArgumentException&gt;(argVariabilities.Length == method.GetParameters().Length, </div>
<div class="line"><a name="l01720"></a><span class="lineno"> 1720</span>&#160;                <span class="stringliteral">&quot;argVariabilities must contain exactly as many elements as there are method parameters.&quot;</span>);</div>
<div class="line"><a name="l01721"></a><span class="lineno"> 1721</span>&#160;</div>
<div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>&#160;            Debug.Assert(argValueSamples.All(s =&gt; s != null));</div>
<div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>&#160;</div>
<div class="line"><a name="l01724"></a><span class="lineno"> 1724</span>&#160;            ArgValueSamples = argValueSamples;</div>
<div class="line"><a name="l01725"></a><span class="lineno"> 1725</span>&#160;            ArgVariabilities = argVariabilities;</div>
<div class="line"><a name="l01726"></a><span class="lineno"> 1726</span>&#160;            InitArguments();</div>
<div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>&#160;        }</div>
<div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>&#160;</div>
<div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> ReturnType</div>
<div class="line"><a name="l01733"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#afebf3fee2595382361f85a18b173cccb"> 1733</a></span>&#160;        {</div>
<div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>&#160;            {</div>
<div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160;                <span class="keywordflow">if</span> (ReturnValueSample != null)</div>
<div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>&#160;                {</div>
<div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>&#160;                    <span class="keywordflow">return</span> TypeDescriptor.GetTypeOf(ReturnValueSample);</div>
<div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>&#160;                }</div>
<div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>&#160;                {</div>
<div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>&#160;                    Type returnType;</div>
<div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>&#160;                    Method.IsFunction(out returnType);</div>
<div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>&#160;                    <span class="keywordflow">return</span> TypeDescriptor.MakeType(returnType);</div>
<div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>&#160;                }</div>
<div class="line"><a name="l01746"></a><span class="lineno"> 1746</span>&#160;            }</div>
<div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160;        }</div>
<div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>&#160;</div>
<div class="line"><a name="l01752"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#ad96ae7150e5b45184381365cca1c3556"> 1752</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span>[] ArgValueSamples { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01753"></a><span class="lineno"> 1753</span>&#160;</div>
<div class="line"><a name="l01757"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#a5429c5697ea110ad931f7793c9c2006e"> 1757</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="namespace_system_sharp_1_1_analysis_1_1_msil.html#a414dbb6e07d44baf0e522f23507f6b04">EVariability</a>[] ArgVariabilities { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>&#160;</div>
<div class="line"><a name="l01762"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#adb22ece452fd55c650230411d64faf67"> 1762</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">object</span> ReturnValueSample { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>&#160;</div>
<div class="line"><a name="l01767"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#a73fd021762c30be5dfb5e1a6f3fc739b"> 1767</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_process_descriptor.html">ProcessDescriptor</a> CallingProcess { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>&#160;</div>
<div class="line"><a name="l01769"></a><span class="lineno"> 1769</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">void</span> InitArguments()</div>
<div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>&#160;        {</div>
<div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>&#160;            ParameterInfo[] args = Method.GetParameters();</div>
<div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>&#160;            <span class="keywordflow">foreach</span> (ParameterInfo arg <span class="keywordflow">in</span> args)</div>
<div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>&#160;            {</div>
<div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;                <a class="code" href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a65f93506ada44e4781bca6b48e03dbf6">ArgumentDescriptor.EArgDirection</a> dir =</div>
<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160;                    ArgumentDescriptor.EArgDirection.In;</div>
<div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>&#160;                <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> argType = arg.ParameterType;</div>
<div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>&#160;                <span class="keywordtype">bool</span> isByRef = <span class="keyword">false</span>;</div>
<div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>&#160;                <span class="keywordflow">if</span> (argType.<a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html#a65f47036b62019f1ba202998da3b539b">IsByRef</a>)</div>
<div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>&#160;                {</div>
<div class="line"><a name="l01780"></a><span class="lineno"> 1780</span>&#160;                    <span class="keywordflow">if</span> (arg.IsOut)</div>
<div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>&#160;                        dir = ArgumentDescriptor.EArgDirection.Out;</div>
<div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>&#160;                    <span class="keywordflow">else</span></div>
<div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>&#160;                        dir = ArgumentDescriptor.EArgDirection.InOut;</div>
<div class="line"><a name="l01784"></a><span class="lineno"> 1784</span>&#160;                    isByRef = <span class="keyword">true</span>;</div>
<div class="line"><a name="l01785"></a><span class="lineno"> 1785</span>&#160;                }</div>
<div class="line"><a name="l01786"></a><span class="lineno"> 1786</span>&#160;                <span class="keywordflow">if</span> (ArgValueSamples[arg.Position] != null)</div>
<div class="line"><a name="l01787"></a><span class="lineno"> 1787</span>&#160;                {</div>
<div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>&#160;                    argType = TypeDescriptor.GetTypeOf(ArgValueSamples[arg.Position]);</div>
<div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>&#160;                    <span class="keywordflow">if</span> (isByRef)</div>
<div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>&#160;                        argType = argType.AsByRefType();</div>
<div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>&#160;                }</div>
<div class="line"><a name="l01792"></a><span class="lineno"> 1792</span>&#160;</div>
<div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>&#160;                <a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_storable_literal.html">IStorableLiteral</a> argv;</div>
<div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>&#160;</div>
<div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>&#160;                <a class="code" href="class_system_sharp_1_1_components_1_1_rewrite_argument_declaration.html">RewriteArgumentDeclaration</a> rad =</div>
<div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>&#160;                    (<a class="code" href="class_system_sharp_1_1_components_1_1_rewrite_argument_declaration.html">RewriteArgumentDeclaration</a>)arg.ParameterType.GetCustomOrInjectedAttribute(</div>
<div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>&#160;                        typeof(<a class="code" href="class_system_sharp_1_1_components_1_1_rewrite_argument_declaration.html">RewriteArgumentDeclaration</a>));</div>
<div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>&#160;                <span class="keywordflow">if</span> (rad != null)</div>
<div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>&#160;                {</div>
<div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>&#160;                    argv = rad.ImplementDeclaration(</div>
<div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>&#160;                        <span class="keyword">this</span>,</div>
<div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>&#160;                        ArgValueSamples[arg.Position],</div>
<div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>&#160;                        arg);</div>
<div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>&#160;                }</div>
<div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>&#160;                {</div>
<div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>&#160;                    argv = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">Variable</a>(argType)</div>
<div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>&#160;                    {</div>
<div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>&#160;                        Name = arg.Name</div>
<div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>&#160;                    };</div>
<div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>&#160;                    ArgumentDescriptor argd = <span class="keyword">new</span> ArgumentDescriptor(</div>
<div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>&#160;                        argv,</div>
<div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>&#160;                        dir,</div>
<div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>&#160;                        ArgVariabilities[arg.Position],</div>
<div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>&#160;                        arg.Position);</div>
<div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>&#160;                    AddChild(argd, argv.<a class="code" href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_storable.html#a25497e3697adc951fc1a3b1f198a1275">Name</a>);</div>
<div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>&#160;                }</div>
<div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>&#160;            }</div>
<div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>&#160;        }</div>
<div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>&#160;</div>
<div class="line"><a name="l01826"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#acb2f4579d219ce50be3f2b1c1f8c3f8a"> 1826</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#acb2f4579d219ce50be3f2b1c1f8c3f8a">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>&#160;        {</div>
<div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>&#160;            <span class="keywordflow">if</span> (obj is <a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html">MethodDescriptor</a>)</div>
<div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>&#160;            {</div>
<div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>&#160;                MethodDescriptor other = (MethodDescriptor)obj;</div>
<div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>&#160;</div>
<div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>&#160;                <span class="keywordflow">if</span> (Owner != other.<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a874f66f2d80c6e3931aec51883407ce2">Owner</a>)</div>
<div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>&#160;                    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l01834"></a><span class="lineno"> 1834</span>&#160;                <span class="keywordflow">if</span> (!Method.Equals(other.<a class="code" href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a223dffef12b00e67f5c3a16a168d5de7">Method</a>))</div>
<div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>&#160;                    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l01836"></a><span class="lineno"> 1836</span>&#160;</div>
<div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>&#160;                <span class="keywordflow">return</span> this.GetArguments()</div>
<div class="line"><a name="l01838"></a><span class="lineno"> 1838</span>&#160;                    .SequenceEqual(</div>
<div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>&#160;                        other.GetArguments(),</div>
<div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>&#160;                        ArgumentDescriptor.TypeAndDirectionComparer);</div>
<div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>&#160;            }</div>
<div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>&#160;            {</div>
<div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l01845"></a><span class="lineno"> 1845</span>&#160;            }</div>
<div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>&#160;        }</div>
<div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>&#160;</div>
<div class="line"><a name="l01848"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#a00afcc3ec4db78cac6dc9f2b5892331c"> 1848</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#a00afcc3ec4db78cac6dc9f2b5892331c">GetHashCode</a>()</div>
<div class="line"><a name="l01849"></a><span class="lineno"> 1849</span>&#160;        {</div>
<div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>&#160;            <span class="keywordtype">int</span> hash = Owner.GetHashCode();</div>
<div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>&#160;            hash ^= Method.GetHashCode();</div>
<div class="line"><a name="l01852"></a><span class="lineno"> 1852</span>&#160;            hash ^= this.GetArguments().Aggregate(hash, (h, a) =&gt;</div>
<div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>&#160;                ((h &lt;&lt; 1) | (h &gt;&gt; 31)) ^</div>
<div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>&#160;                ArgumentDescriptor.TypeAndDirectionComparer.GetHashCode(a));</div>
<div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>&#160;            <span class="keywordflow">return</span> hash;</div>
<div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>&#160;        }</div>
<div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>&#160;    }</div>
<div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>&#160;</div>
<div class="line"><a name="l01859"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_up_range_converter.html"> 1859</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_up_range_converter.html">IntToZeroBasedUpRangeConverter</a></div>
<div class="line"><a name="l01860"></a><span class="lineno"> 1860</span>&#160;    {</div>
<div class="line"><a name="l01861"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_up_range_converter.html#a5e623e59c3fa6e7006563c147b625c58"> 1861</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="struct_system_sharp_1_1_data_types_1_1_range.html">Range</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_up_range_converter.html#a5e623e59c3fa6e7006563c147b625c58">ConvertToRange</a>(<span class="keywordtype">int</span> arg)</div>
<div class="line"><a name="l01862"></a><span class="lineno"> 1862</span>&#160;        {</div>
<div class="line"><a name="l01863"></a><span class="lineno"> 1863</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="struct_system_sharp_1_1_data_types_1_1_range.html">Range</a>(0, arg - 1, <a class="code" href="namespace_system_sharp_1_1_data_types.html#a186276b2957914dc1704f6e0bec8214a">EDimDirection</a>.To);</div>
<div class="line"><a name="l01864"></a><span class="lineno"> 1864</span>&#160;        }</div>
<div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>&#160;    }</div>
<div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>&#160;</div>
<div class="line"><a name="l01867"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_down_range_converter.html"> 1867</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_down_range_converter.html">IntToZeroBasedDownRangeConverter</a></div>
<div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>&#160;    {</div>
<div class="line"><a name="l01869"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_down_range_converter.html#ae46703e35369613e5ee39f4f1e6ded51"> 1869</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="struct_system_sharp_1_1_data_types_1_1_range.html">Range</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_down_range_converter.html#ae46703e35369613e5ee39f4f1e6ded51">ConvertToRange</a>(<span class="keywordtype">int</span> arg)</div>
<div class="line"><a name="l01870"></a><span class="lineno"> 1870</span>&#160;        {</div>
<div class="line"><a name="l01871"></a><span class="lineno"> 1871</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="struct_system_sharp_1_1_data_types_1_1_range.html">Range</a>(arg - 1, 0, <a class="code" href="namespace_system_sharp_1_1_data_types.html#a186276b2957914dc1704f6e0bec8214a">EDimDirection</a>.Downto);</div>
<div class="line"><a name="l01872"></a><span class="lineno"> 1872</span>&#160;        }</div>
<div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>&#160;    }</div>
<div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>&#160;</div>
<div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>&#160;    [AttributeUsage(AttributeTargets.Property)]</div>
<div class="line"><a name="l01879"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_type_parameter.html"> 1879</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_type_parameter.html">TypeParameter</a> : Attribute</div>
<div class="line"><a name="l01880"></a><span class="lineno"> 1880</span>&#160;    {</div>
<div class="line"><a name="l01881"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_type_parameter.html#a0116dede6dadb09b2c036700d7774534"> 1881</a></span>&#160;        <span class="keyword">public</span> Type RangeConverter { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>&#160;</div>
<div class="line"><a name="l01883"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_type_parameter.html#aa7d51b1f382719c5713138ed7b15d821"> 1883</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_parameter.html#aa7d51b1f382719c5713138ed7b15d821">TypeParameter</a>(Type rangeConverter)</div>
<div class="line"><a name="l01884"></a><span class="lineno"> 1884</span>&#160;        {</div>
<div class="line"><a name="l01885"></a><span class="lineno"> 1885</span>&#160;            RangeConverter = rangeConverter;</div>
<div class="line"><a name="l01886"></a><span class="lineno"> 1886</span>&#160;        }</div>
<div class="line"><a name="l01887"></a><span class="lineno"> 1887</span>&#160;    }</div>
<div class="line"><a name="l01888"></a><span class="lineno"> 1888</span>&#160;</div>
<div class="line"><a name="l01892"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html"> 1892</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html">IPackageOrComponentDescriptor</a></div>
<div class="line"><a name="l01893"></a><span class="lineno"> 1893</span>&#160;    {</div>
<div class="line"><a name="l01897"></a><span class="lineno"> 1897</span>&#160;        <span class="keywordtype">void</span> AddDependency(<a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">PackageDescriptor</a> pd);</div>
<div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>&#160;</div>
<div class="line"><a name="l01902"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html#a360e7df9dedde34036ca4dd81ecd3dad"> 1902</a></span>&#160;        IEnumerable&lt;PackageDescriptor&gt; Dependencies { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01903"></a><span class="lineno"> 1903</span>&#160;</div>
<div class="line"><a name="l01907"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html#a7d21544ed90d8ebf2500f5dd950badf3"> 1907</a></span>&#160;        <span class="keywordtype">int</span> DependencyOrder { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>&#160;</div>
<div class="line"><a name="l01912"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html#ab31b775b081d96fb8bc68cd42c1e0577"> 1912</a></span>&#160;        <span class="keywordtype">string</span> Library { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l01913"></a><span class="lineno"> 1913</span>&#160;    }</div>
<div class="line"><a name="l01914"></a><span class="lineno"> 1914</span>&#160;</div>
<div class="line"><a name="l01915"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_dependency_ordered.html"> 1915</a></span>&#160;    <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_dependency_ordered.html">IDependencyOrdered</a></div>
<div class="line"><a name="l01916"></a><span class="lineno"> 1916</span>&#160;    {</div>
<div class="line"><a name="l01917"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_dependency_ordered.html#a0a670c99e098c8bb11359268c80bfbc0"> 1917</a></span>&#160;        <span class="keywordtype">int</span> DependencyOrder { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>&#160;    }</div>
<div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>&#160;</div>
<div class="line"><a name="l01923"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html"> 1923</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> :</div>
<div class="line"><a name="l01924"></a><span class="lineno"> 1924</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">IDescriptor</a>,</div>
<div class="line"><a name="l01925"></a><span class="lineno"> 1925</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html">IPackageOrComponentDescriptor</a></div>
<div class="line"><a name="l01926"></a><span class="lineno"> 1926</span>&#160;    {</div>
<div class="line"><a name="l01927"></a><span class="lineno"> 1927</span>&#160;    }</div>
<div class="line"><a name="l01928"></a><span class="lineno"> 1928</span>&#160;</div>
<div class="line"><a name="l01929"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html"> 1929</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html">PackageOrComponentDescriptor</a> :</div>
<div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html">IPackageOrComponentDescriptor</a>,</div>
<div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_dependency_ordered.html">IDependencyOrdered</a></div>
<div class="line"><a name="l01932"></a><span class="lineno"> 1932</span>&#160;    {</div>
<div class="line"><a name="l01933"></a><span class="lineno"> 1933</span>&#160;        <span class="keyword">private</span> HashSet&lt;PackageDescriptor&gt; _dependencies = <span class="keyword">new</span> HashSet&lt;PackageDescriptor&gt;();</div>
<div class="line"><a name="l01934"></a><span class="lineno"> 1934</span>&#160;</div>
<div class="line"><a name="l01935"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html#adf65107a238e6706ec34cfe34a10d583"> 1935</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html#adf65107a238e6706ec34cfe34a10d583">PackageOrComponentDescriptor</a>()</div>
<div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>&#160;        {</div>
<div class="line"><a name="l01937"></a><span class="lineno"> 1937</span>&#160;        }</div>
<div class="line"><a name="l01938"></a><span class="lineno"> 1938</span>&#160;</div>
<div class="line"><a name="l01939"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html#ab4be544aca1e709aa62f826c26067a7a"> 1939</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html#ab4be544aca1e709aa62f826c26067a7a">AddDependency</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">PackageDescriptor</a> pkg)</div>
<div class="line"><a name="l01940"></a><span class="lineno"> 1940</span>&#160;        {</div>
<div class="line"><a name="l01941"></a><span class="lineno"> 1941</span>&#160;            <span class="keywordflow">if</span> (pkg == null)</div>
<div class="line"><a name="l01942"></a><span class="lineno"> 1942</span>&#160;                <span class="keywordflow">throw</span> <span class="keyword">new</span> ArgumentException();</div>
<div class="line"><a name="l01943"></a><span class="lineno"> 1943</span>&#160;</div>
<div class="line"><a name="l01944"></a><span class="lineno"> 1944</span>&#160;            _dependencies.Add(pkg);</div>
<div class="line"><a name="l01945"></a><span class="lineno"> 1945</span>&#160;        }</div>
<div class="line"><a name="l01946"></a><span class="lineno"> 1946</span>&#160;</div>
<div class="line"><a name="l01947"></a><span class="lineno"> 1947</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;PackageDescriptor&gt; Dependencies</div>
<div class="line"><a name="l01948"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html#a68158675acca7c4f6add7a51d2911107"> 1948</a></span>&#160;        {</div>
<div class="line"><a name="l01949"></a><span class="lineno"> 1949</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l01950"></a><span class="lineno"> 1950</span>&#160;            {</div>
<div class="line"><a name="l01951"></a><span class="lineno"> 1951</span>&#160;                <span class="keywordflow">return</span> _dependencies.Where(pd =&gt; !pd.IsEmpty);</div>
<div class="line"><a name="l01952"></a><span class="lineno"> 1952</span>&#160;            }</div>
<div class="line"><a name="l01953"></a><span class="lineno"> 1953</span>&#160;        }</div>
<div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>&#160;</div>
<div class="line"><a name="l01955"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html#a1343fe8c2629318749e35a9deddf962e"> 1955</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> DependencyOrder { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>&#160;</div>
<div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>&#160;        <span class="keywordtype">int</span> IDependencyOrdered.DependencyOrder</div>
<div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>&#160;        {</div>
<div class="line"><a name="l01959"></a><span class="lineno"> 1959</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> DependencyOrder; }</div>
<div class="line"><a name="l01960"></a><span class="lineno"> 1960</span>&#160;            set { DependencyOrder = value; }</div>
<div class="line"><a name="l01961"></a><span class="lineno"> 1961</span>&#160;        }</div>
<div class="line"><a name="l01962"></a><span class="lineno"> 1962</span>&#160;</div>
<div class="line"><a name="l01963"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html#ad7e9ac75d40a451ff7cb9bacee17889d"> 1963</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Library { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l01964"></a><span class="lineno"> 1964</span>&#160;    }</div>
<div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>&#160;</div>
<div class="line"><a name="l01969"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html"> 1969</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">PackageDescriptor</a> :</div>
<div class="line"><a name="l01970"></a><span class="lineno"> 1970</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a>,</div>
<div class="line"><a name="l01971"></a><span class="lineno"> 1971</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html">IPackageOrComponentDescriptor</a>,</div>
<div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_dependency_ordered.html">IDependencyOrdered</a></div>
<div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>&#160;    {</div>
<div class="line"><a name="l01974"></a><span class="lineno"> 1974</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html">PackageOrComponentDescriptor</a> _container = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html">PackageOrComponentDescriptor</a>();</div>
<div class="line"><a name="l01975"></a><span class="lineno"> 1975</span>&#160;</div>
<div class="line"><a name="l01979"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#aca2de874c39f201dc63b1113d06d1db8"> 1979</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> PackageName { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l01980"></a><span class="lineno"> 1980</span>&#160;</div>
<div class="line"><a name="l01985"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#ad6f68007d8ea2f6894ac62ee9a8afda0"> 1985</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#ad6f68007d8ea2f6894ac62ee9a8afda0">PackageDescriptor</a>(<span class="keywordtype">string</span> packageName)</div>
<div class="line"><a name="l01986"></a><span class="lineno"> 1986</span>&#160;        {</div>
<div class="line"><a name="l01987"></a><span class="lineno"> 1987</span>&#160;            Contract.Requires&lt;ArgumentException&gt;(packageName != null &amp;&amp; packageName != <span class="stringliteral">&quot;&quot;</span>, <span class="stringliteral">&quot;packageName&quot;</span>);</div>
<div class="line"><a name="l01988"></a><span class="lineno"> 1988</span>&#160;</div>
<div class="line"><a name="l01989"></a><span class="lineno"> 1989</span>&#160;            PackageName = packageName;</div>
<div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>&#160;        }</div>
<div class="line"><a name="l01991"></a><span class="lineno"> 1991</span>&#160;</div>
<div class="line"><a name="l01992"></a><span class="lineno"> 1992</span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l01993"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a694e58692565038e88f52b2ebdbb5656"> 1993</a></span>&#160;        {</div>
<div class="line"><a name="l01994"></a><span class="lineno"> 1994</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> PackageName; }</div>
<div class="line"><a name="l01995"></a><span class="lineno"> 1995</span>&#160;        }</div>
<div class="line"><a name="l01996"></a><span class="lineno"> 1996</span>&#160;</div>
<div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">bool</span> IsEmpty</div>
<div class="line"><a name="l02001"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a25e75d712c20d33f1b8706778b18e2d1"> 2001</a></span>&#160;        {</div>
<div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> Children.Count() == 0; }</div>
<div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>&#160;        }</div>
<div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>&#160;</div>
<div class="line"><a name="l02005"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a1130bb0529e94734a7ebf22e0d014eb3"> 2005</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a1130bb0529e94734a7ebf22e0d014eb3">ToString</a>()</div>
<div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>&#160;        {</div>
<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>&#160;            <span class="keywordflow">return</span> PackageName;</div>
<div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>&#160;        }</div>
<div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>&#160;</div>
<div class="line"><a name="l02013"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#adb0c21fadec98084cccf35f89cbd52ef"> 2013</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">bool</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#adb0c21fadec98084cccf35f89cbd52ef">Equals</a>(<span class="keywordtype">object</span> obj)</div>
<div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>&#160;        {</div>
<div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>&#160;            <span class="keywordflow">if</span> (obj is <a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">PackageDescriptor</a>)</div>
<div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>&#160;            {</div>
<div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>&#160;                PackageDescriptor pd = (PackageDescriptor)obj;</div>
<div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>&#160;                <span class="keywordflow">return</span> PackageName == pd.PackageName;</div>
<div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>&#160;            }</div>
<div class="line"><a name="l02020"></a><span class="lineno"> 2020</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l02021"></a><span class="lineno"> 2021</span>&#160;            {</div>
<div class="line"><a name="l02022"></a><span class="lineno"> 2022</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l02023"></a><span class="lineno"> 2023</span>&#160;            }</div>
<div class="line"><a name="l02024"></a><span class="lineno"> 2024</span>&#160;        }</div>
<div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>&#160;</div>
<div class="line"><a name="l02026"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a74e56d0fc29246d02c58166da54d8b1b"> 2026</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">int</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a74e56d0fc29246d02c58166da54d8b1b">GetHashCode</a>()</div>
<div class="line"><a name="l02027"></a><span class="lineno"> 2027</span>&#160;        {</div>
<div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>&#160;            <span class="keywordflow">return</span> PackageName.GetHashCode();</div>
<div class="line"><a name="l02029"></a><span class="lineno"> 2029</span>&#160;        }</div>
<div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>&#160;</div>
<div class="line"><a name="l02034"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#acb4785a73e32c9ebafec3a4a457571a5"> 2034</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#acb4785a73e32c9ebafec3a4a457571a5">AddDependency</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">PackageDescriptor</a> pd)</div>
<div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>&#160;        {</div>
<div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>&#160;            <span class="keywordflow">if</span> (pd == <span class="keyword">this</span>)</div>
<div class="line"><a name="l02037"></a><span class="lineno"> 2037</span>&#160;                <span class="keywordflow">throw</span> <span class="keyword">new</span> ArgumentException(<span class="stringliteral">&quot;Cyclic dependency&quot;</span>);</div>
<div class="line"><a name="l02038"></a><span class="lineno"> 2038</span>&#160;</div>
<div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>&#160;            _container.AddDependency(pd);</div>
<div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>&#160;        }</div>
<div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>&#160;</div>
<div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;PackageDescriptor&gt; Dependencies</div>
<div class="line"><a name="l02046"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#ae8c1af7e86983059427f343ece15b438"> 2046</a></span>&#160;        {</div>
<div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> _container.Dependencies; }</div>
<div class="line"><a name="l02048"></a><span class="lineno"> 2048</span>&#160;        }</div>
<div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>&#160;</div>
<div class="line"><a name="l02053"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a7a8fbb966677203cf0b82afd5e399b7d"> 2053</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> DependencyOrder { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>&#160;</div>
<div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>&#160;        <span class="keywordtype">int</span> IDependencyOrdered.DependencyOrder</div>
<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>&#160;        {</div>
<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> DependencyOrder; }</div>
<div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>&#160;            set { DependencyOrder = value; }</div>
<div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>&#160;        }</div>
<div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>&#160;</div>
<div class="line"><a name="l02066"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a09b387ec1bd6cb532c8c91c0defa6544"> 2066</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a09b387ec1bd6cb532c8c91c0defa6544">AddChild</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a> desc, <span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>&#160;        {</div>
<div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>&#160;            var tdesc = desc as <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a>;</div>
<div class="line"><a name="l02069"></a><span class="lineno"> 2069</span>&#160;            Debug.Assert(tdesc == null || !tdesc.HasIntrinsicTypeOverride);</div>
<div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>&#160;</div>
<div class="line"><a name="l02071"></a><span class="lineno"> 2071</span>&#160;            base.AddChild(desc, name);</div>
<div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>&#160;        }</div>
<div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>&#160;</div>
<div class="line"><a name="l02077"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a473df1b497ba4bb61ec6e58e008107a4"> 2077</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Library { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>&#160;    }</div>
<div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>&#160;</div>
<div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>&#160;<span class="comment">    [Flags]</span></div>
<div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>&#160;<span class="comment">    public enum EComponentCoverage</span></div>
<div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>&#160;<span class="comment">    {</span></div>
<div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>&#160;<span class="comment">        Interface,</span></div>
<div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>&#160;<span class="comment">        Implementation</span></div>
<div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>&#160;<span class="comment">    }</span></div>
<div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>&#160;<span class="comment">    */</span></div>
<div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>&#160;</div>
<div class="line"><a name="l02092"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html"> 2092</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html">ComponentDescriptor</a> :</div>
<div class="line"><a name="l02093"></a><span class="lineno"> 2093</span>&#160;        <a class="code" href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">InstanceDescriptor</a>,</div>
<div class="line"><a name="l02094"></a><span class="lineno"> 2094</span>&#160;        IInstanceDescriptor&lt;Component&gt;,</div>
<div class="line"><a name="l02095"></a><span class="lineno"> 2095</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html">IPackageOrComponentDescriptor</a>,</div>
<div class="line"><a name="l02096"></a><span class="lineno"> 2096</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a>,</div>
<div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>&#160;        <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_dependency_ordered.html">IDependencyOrdered</a></div>
<div class="line"><a name="l02098"></a><span class="lineno"> 2098</span>&#160;    {</div>
<div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html">PackageOrComponentDescriptor</a> _container = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html">PackageOrComponentDescriptor</a>();</div>
<div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>&#160;</div>
<div class="line"><a name="l02104"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#aad0a648263119a0cbf068cfef01b5099"> 2104</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">PackageDescriptor</a> Package { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>&#160;</div>
<div class="line"><a name="l02110"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#ac650c0a779e8409fdac35a2d11393366"> 2110</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#ac650c0a779e8409fdac35a2d11393366">ComponentDescriptor</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_component.html">Component</a> instance) :</div>
<div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>&#160;            base(instance)</div>
<div class="line"><a name="l02112"></a><span class="lineno"> 2112</span>&#160;        {</div>
<div class="line"><a name="l02113"></a><span class="lineno"> 2113</span>&#160;        }</div>
<div class="line"><a name="l02114"></a><span class="lineno"> 2114</span>&#160;</div>
<div class="line"><a name="l02118"></a><span class="lineno"> 2118</span>&#160;        <span class="keyword">internal</span> <span class="keywordtype">bool</span> HasForeignImplementation { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l02119"></a><span class="lineno"> 2119</span>&#160;</div>
<div class="line"><a name="l02123"></a><span class="lineno"> 2123</span>&#160;        <span class="keyword">public</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_components_1_1_component.html">Component</a> Instance</div>
<div class="line"><a name="l02124"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#ad9bb0e1feb32b2e0af66432fdbfbbb5f"> 2124</a></span>&#160;        {</div>
<div class="line"><a name="l02125"></a><span class="lineno"> 2125</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> (<a class="code" href="class_system_sharp_1_1_components_1_1_component.html">Component</a>)base.Instance; }</div>
<div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>&#160;        }</div>
<div class="line"><a name="l02127"></a><span class="lineno"> 2127</span>&#160;</div>
<div class="line"><a name="l02131"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#a4d26e36c22bf47c6da7264b9c8aca75d"> 2131</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#a4d26e36c22bf47c6da7264b9c8aca75d">AddDependency</a>(<a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">PackageDescriptor</a> pd)</div>
<div class="line"><a name="l02132"></a><span class="lineno"> 2132</span>&#160;        {</div>
<div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>&#160;            _container.AddDependency(pd);</div>
<div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>&#160;        }</div>
<div class="line"><a name="l02135"></a><span class="lineno"> 2135</span>&#160;</div>
<div class="line"><a name="l02139"></a><span class="lineno"> 2139</span>&#160;        <span class="keyword">public</span> IEnumerable&lt;PackageDescriptor&gt; Dependencies</div>
<div class="line"><a name="l02140"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#a81812b29d20a5a1d1458ea9bc3e0562b"> 2140</a></span>&#160;        {</div>
<div class="line"><a name="l02141"></a><span class="lineno"> 2141</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l02142"></a><span class="lineno"> 2142</span>&#160;            {</div>
<div class="line"><a name="l02143"></a><span class="lineno"> 2143</span>&#160;                <span class="keywordflow">return</span> this.GetChildComponents()</div>
<div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>&#160;                    .SelectMany(cc =&gt; ((<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html">IPackageOrComponentDescriptor</a>)cc).Dependencies)</div>
<div class="line"><a name="l02145"></a><span class="lineno"> 2145</span>&#160;                    .Concat(_container.Dependencies)</div>
<div class="line"><a name="l02146"></a><span class="lineno"> 2146</span>&#160;                    .Distinct();</div>
<div class="line"><a name="l02147"></a><span class="lineno"> 2147</span>&#160;            }</div>
<div class="line"><a name="l02148"></a><span class="lineno"> 2148</span>&#160;        }</div>
<div class="line"><a name="l02149"></a><span class="lineno"> 2149</span>&#160;</div>
<div class="line"><a name="l02150"></a><span class="lineno"> 2150</span>&#160;        <span class="comment">//public EComponentCoverage Coverage { get; internal set; }</span></div>
<div class="line"><a name="l02151"></a><span class="lineno"> 2151</span>&#160;        <span class="comment">//public string ImplementationDomain { get; internal set; }</span></div>
<div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>&#160;</div>
<div class="line"><a name="l02157"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#a96e94fa28aa57ed195ab2306f3e46c10"> 2157</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">int</span> DependencyOrder { <span class="keyword">get</span>; <span class="keyword">internal</span> set; }</div>
<div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>&#160;</div>
<div class="line"><a name="l02159"></a><span class="lineno"> 2159</span>&#160;        <span class="keywordtype">int</span> IDependencyOrdered.DependencyOrder</div>
<div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>&#160;        {</div>
<div class="line"><a name="l02161"></a><span class="lineno"> 2161</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> DependencyOrder; }</div>
<div class="line"><a name="l02162"></a><span class="lineno"> 2162</span>&#160;            set { DependencyOrder = value; }</div>
<div class="line"><a name="l02163"></a><span class="lineno"> 2163</span>&#160;        }</div>
<div class="line"><a name="l02164"></a><span class="lineno"> 2164</span>&#160;</div>
<div class="line"><a name="l02165"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#a79d2345332b7ad010f16e192d8663e90"> 2165</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Library { <span class="keyword">get</span>; set; }</div>
<div class="line"><a name="l02166"></a><span class="lineno"> 2166</span>&#160;    }</div>
<div class="line"><a name="l02167"></a><span class="lineno"> 2167</span>&#160;</div>
<div class="line"><a name="l02171"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html"> 2171</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html">DesignDescriptor</a> : <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">DescriptorBase</a></div>
<div class="line"><a name="l02172"></a><span class="lineno"> 2172</span>&#160;    {</div>
<div class="line"><a name="l02176"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#a9275014cd02e3337faebe4260ffa0eca"> 2176</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> Context { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l02177"></a><span class="lineno"> 2177</span>&#160;</div>
<div class="line"><a name="l02181"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#aeefb19f123084361da9d270aeed5f775"> 2181</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_library.html">TypeLibrary</a> TypeLib { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>&#160;</div>
<div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>&#160;        <span class="keyword">internal</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html">DesignDescriptor</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> design)</div>
<div class="line"><a name="l02184"></a><span class="lineno"> 2184</span>&#160;        {</div>
<div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>&#160;            Context = design;</div>
<div class="line"><a name="l02186"></a><span class="lineno"> 2186</span>&#160;            TypeLib = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_library.html">TypeLibrary</a>(<span class="keyword">this</span>);</div>
<div class="line"><a name="l02187"></a><span class="lineno"> 2187</span>&#160;        }</div>
<div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>&#160;</div>
<div class="line"><a name="l02192"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#a4547090483b892c37b62d8e86e34c3a2"> 2192</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#a4547090483b892c37b62d8e86e34c3a2">DesignDescriptor</a>()</div>
<div class="line"><a name="l02193"></a><span class="lineno"> 2193</span>&#160;        {</div>
<div class="line"><a name="l02194"></a><span class="lineno"> 2194</span>&#160;            TypeLib = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_library.html">TypeLibrary</a>(<span class="keyword">this</span>);</div>
<div class="line"><a name="l02195"></a><span class="lineno"> 2195</span>&#160;        }</div>
<div class="line"><a name="l02196"></a><span class="lineno"> 2196</span>&#160;</div>
<div class="line"><a name="l02197"></a><span class="lineno"> 2197</span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> Name</div>
<div class="line"><a name="l02198"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#a04a1149b8fa4fb6f527f958817ef464f"> 2198</a></span>&#160;        {</div>
<div class="line"><a name="l02199"></a><span class="lineno"> 2199</span>&#160;            <span class="keyword">get</span> { <span class="keywordflow">return</span> <span class="stringliteral">&quot;Design&quot;</span>; }</div>
<div class="line"><a name="l02200"></a><span class="lineno"> 2200</span>&#160;        }</div>
<div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>&#160;</div>
<div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>&#160;        <span class="keyword">private</span> AssemblyBuilder _asmBuilder;</div>
<div class="line"><a name="l02203"></a><span class="lineno"> 2203</span>&#160;</div>
<div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>&#160;        <span class="keyword">public</span> AssemblyBuilder AsmBuilder</div>
<div class="line"><a name="l02208"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#ab1efec3a11d8b7b2715033ae5f68e012"> 2208</a></span>&#160;        {</div>
<div class="line"><a name="l02209"></a><span class="lineno"> 2209</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l02210"></a><span class="lineno"> 2210</span>&#160;            {</div>
<div class="line"><a name="l02211"></a><span class="lineno"> 2211</span>&#160;                <span class="keywordflow">if</span> (_asmBuilder == null)</div>
<div class="line"><a name="l02212"></a><span class="lineno"> 2212</span>&#160;                {</div>
<div class="line"><a name="l02213"></a><span class="lineno"> 2213</span>&#160;                    AssemblyName asmName = <span class="keyword">new</span> AssemblyName();</div>
<div class="line"><a name="l02214"></a><span class="lineno"> 2214</span>&#160;                    asmName.Name = <span class="stringliteral">&quot;ReflectiveDesign&quot;</span>;</div>
<div class="line"><a name="l02215"></a><span class="lineno"> 2215</span>&#160;                    _asmBuilder = Thread.GetDomain().DefineDynamicAssembly(asmName, AssemblyBuilderAccess.Run);</div>
<div class="line"><a name="l02216"></a><span class="lineno"> 2216</span>&#160;                }</div>
<div class="line"><a name="l02217"></a><span class="lineno"> 2217</span>&#160;                <span class="keywordflow">return</span> _asmBuilder;</div>
<div class="line"><a name="l02218"></a><span class="lineno"> 2218</span>&#160;            }</div>
<div class="line"><a name="l02219"></a><span class="lineno"> 2219</span>&#160;        }</div>
<div class="line"><a name="l02220"></a><span class="lineno"> 2220</span>&#160;</div>
<div class="line"><a name="l02221"></a><span class="lineno"> 2221</span>&#160;        <span class="keyword">private</span> ModuleBuilder _modBuilder;</div>
<div class="line"><a name="l02222"></a><span class="lineno"> 2222</span>&#160;</div>
<div class="line"><a name="l02226"></a><span class="lineno"> 2226</span>&#160;        <span class="keyword">private</span> ModuleBuilder ModBuilder</div>
<div class="line"><a name="l02227"></a><span class="lineno"> 2227</span>&#160;        {</div>
<div class="line"><a name="l02228"></a><span class="lineno"> 2228</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l02229"></a><span class="lineno"> 2229</span>&#160;            {</div>
<div class="line"><a name="l02230"></a><span class="lineno"> 2230</span>&#160;                <span class="keywordflow">if</span> (_modBuilder == null)</div>
<div class="line"><a name="l02231"></a><span class="lineno"> 2231</span>&#160;                {</div>
<div class="line"><a name="l02232"></a><span class="lineno"> 2232</span>&#160;                    _modBuilder = AsmBuilder.DefineDynamicModule(<span class="stringliteral">&quot;ReflectiveDesignModule&quot;</span>);</div>
<div class="line"><a name="l02233"></a><span class="lineno"> 2233</span>&#160;                }</div>
<div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>&#160;                <span class="keywordflow">return</span> _modBuilder;</div>
<div class="line"><a name="l02235"></a><span class="lineno"> 2235</span>&#160;            }</div>
<div class="line"><a name="l02236"></a><span class="lineno"> 2236</span>&#160;        }</div>
<div class="line"><a name="l02237"></a><span class="lineno"> 2237</span>&#160;</div>
<div class="line"><a name="l02238"></a><span class="lineno"> 2238</span>&#160;        <span class="keyword">private</span> Dictionary&lt;HashableSequence&lt;string&gt;, TypeDescriptor&gt; _enumLookup;</div>
<div class="line"><a name="l02239"></a><span class="lineno"> 2239</span>&#160;        <span class="keyword">private</span> Dictionary&lt;HashableSequence&lt;string&gt;, TypeDescriptor&gt; EnumLookup</div>
<div class="line"><a name="l02240"></a><span class="lineno"> 2240</span>&#160;        {</div>
<div class="line"><a name="l02241"></a><span class="lineno"> 2241</span>&#160;            <span class="keyword">get</span></div>
<div class="line"><a name="l02242"></a><span class="lineno"> 2242</span>&#160;            {</div>
<div class="line"><a name="l02243"></a><span class="lineno"> 2243</span>&#160;                <span class="keywordflow">if</span> (_enumLookup == null)</div>
<div class="line"><a name="l02244"></a><span class="lineno"> 2244</span>&#160;                    _enumLookup = <span class="keyword">new</span> Dictionary&lt;HashableSequence&lt;string&gt;, TypeDescriptor&gt;();</div>
<div class="line"><a name="l02245"></a><span class="lineno"> 2245</span>&#160;                <span class="keywordflow">return</span> _enumLookup;</div>
<div class="line"><a name="l02246"></a><span class="lineno"> 2246</span>&#160;            }</div>
<div class="line"><a name="l02247"></a><span class="lineno"> 2247</span>&#160;        }</div>
<div class="line"><a name="l02248"></a><span class="lineno"> 2248</span>&#160;</div>
<div class="line"><a name="l02255"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#ad4004176f1044cc989b0094f082ebcda"> 2255</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#ad4004176f1044cc989b0094f082ebcda">CreateEnum</a>(<span class="keywordtype">string</span> name, IEnumerable&lt;string&gt; fieldNames)</div>
<div class="line"><a name="l02256"></a><span class="lineno"> 2256</span>&#160;        {</div>
<div class="line"><a name="l02257"></a><span class="lineno"> 2257</span>&#160;            var fieldSeq = <span class="keyword">new</span> HashableSequence&lt;string&gt;(fieldNames);</div>
<div class="line"><a name="l02258"></a><span class="lineno"> 2258</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> existing;</div>
<div class="line"><a name="l02259"></a><span class="lineno"> 2259</span>&#160;            <span class="keywordflow">if</span> (EnumLookup.TryGetValue(fieldSeq, out existing))</div>
<div class="line"><a name="l02260"></a><span class="lineno"> 2260</span>&#160;                <span class="keywordflow">return</span> existing;</div>
<div class="line"><a name="l02261"></a><span class="lineno"> 2261</span>&#160;</div>
<div class="line"><a name="l02262"></a><span class="lineno"> 2262</span>&#160;            EnumBuilder tbe = null;</div>
<div class="line"><a name="l02263"></a><span class="lineno"> 2263</span>&#160;            <span class="keywordflow">try</span></div>
<div class="line"><a name="l02264"></a><span class="lineno"> 2264</span>&#160;            {</div>
<div class="line"><a name="l02265"></a><span class="lineno"> 2265</span>&#160;                tbe = ModBuilder.DefineEnum(name, TypeAttributes.Public, typeof(<span class="keywordtype">int</span>));</div>
<div class="line"><a name="l02266"></a><span class="lineno"> 2266</span>&#160;                </div>
<div class="line"><a name="l02267"></a><span class="lineno"> 2267</span>&#160;            }</div>
<div class="line"><a name="l02268"></a><span class="lineno"> 2268</span>&#160;            <span class="keywordflow">catch</span> (ArgumentException)</div>
<div class="line"><a name="l02269"></a><span class="lineno"> 2269</span>&#160;            {</div>
<div class="line"><a name="l02270"></a><span class="lineno"> 2270</span>&#160;                <span class="comment">// assume existing type name</span></div>
<div class="line"><a name="l02271"></a><span class="lineno"> 2271</span>&#160;                <span class="keywordtype">int</span> count = 0;</div>
<div class="line"><a name="l02272"></a><span class="lineno"> 2272</span>&#160;                <span class="keywordflow">while</span> (<span class="keyword">true</span>)</div>
<div class="line"><a name="l02273"></a><span class="lineno"> 2273</span>&#160;                {</div>
<div class="line"><a name="l02274"></a><span class="lineno"> 2274</span>&#160;                    <span class="keywordtype">string</span> mname = name + <span class="stringliteral">&quot;_&quot;</span> + count;</div>
<div class="line"><a name="l02275"></a><span class="lineno"> 2275</span>&#160;                    <span class="keywordflow">try</span></div>
<div class="line"><a name="l02276"></a><span class="lineno"> 2276</span>&#160;                    {</div>
<div class="line"><a name="l02277"></a><span class="lineno"> 2277</span>&#160;                        tbe = ModBuilder.DefineEnum(mname, TypeAttributes.Public, typeof(<span class="keywordtype">int</span>));</div>
<div class="line"><a name="l02278"></a><span class="lineno"> 2278</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l02279"></a><span class="lineno"> 2279</span>&#160;                    }</div>
<div class="line"><a name="l02280"></a><span class="lineno"> 2280</span>&#160;                    <span class="keywordflow">catch</span> (ArgumentException)</div>
<div class="line"><a name="l02281"></a><span class="lineno"> 2281</span>&#160;                    {</div>
<div class="line"><a name="l02282"></a><span class="lineno"> 2282</span>&#160;                        ++count;</div>
<div class="line"><a name="l02283"></a><span class="lineno"> 2283</span>&#160;                    }</div>
<div class="line"><a name="l02284"></a><span class="lineno"> 2284</span>&#160;                }</div>
<div class="line"><a name="l02285"></a><span class="lineno"> 2285</span>&#160;            }</div>
<div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>&#160;            <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><a name="l02287"></a><span class="lineno"> 2287</span>&#160;            <span class="keywordflow">foreach</span> (<span class="keywordtype">string</span> fieldName <span class="keywordflow">in</span> fieldNames)</div>
<div class="line"><a name="l02288"></a><span class="lineno"> 2288</span>&#160;            {</div>
<div class="line"><a name="l02289"></a><span class="lineno"> 2289</span>&#160;                FieldBuilder fb = tbe.DefineLiteral(fieldName, i);</div>
<div class="line"><a name="l02290"></a><span class="lineno"> 2290</span>&#160;                fb.SetConstant(i);</div>
<div class="line"><a name="l02291"></a><span class="lineno"> 2291</span>&#160;                ++i;</div>
<div class="line"><a name="l02292"></a><span class="lineno"> 2292</span>&#160;            }</div>
<div class="line"><a name="l02293"></a><span class="lineno"> 2293</span>&#160;            Type te = tbe.CreateType();</div>
<div class="line"><a name="l02294"></a><span class="lineno"> 2294</span>&#160;            <a class="code" href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">TypeDescriptor</a> td = TypeDescriptor.MakeType(te);</div>
<div class="line"><a name="l02295"></a><span class="lineno"> 2295</span>&#160;            EnumLookup.Add(fieldSeq, td);</div>
<div class="line"><a name="l02296"></a><span class="lineno"> 2296</span>&#160;            <span class="keywordflow">return</span> td;</div>
<div class="line"><a name="l02297"></a><span class="lineno"> 2297</span>&#160;        }</div>
<div class="line"><a name="l02298"></a><span class="lineno"> 2298</span>&#160;</div>
<div class="line"><a name="l02303"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#a8513ca0b39a1a9220902de911da5099f"> 2303</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_component_builder.html">ComponentBuilder</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#a8513ca0b39a1a9220902de911da5099f">CreateComponent</a>(<span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l02304"></a><span class="lineno"> 2304</span>&#160;        {</div>
<div class="line"><a name="l02305"></a><span class="lineno"> 2305</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_meta_1_1_component_builder.html">ComponentBuilder</a>(name);</div>
<div class="line"><a name="l02306"></a><span class="lineno"> 2306</span>&#160;        }</div>
<div class="line"><a name="l02307"></a><span class="lineno"> 2307</span>&#160;    }</div>
<div class="line"><a name="l02308"></a><span class="lineno"> 2308</span>&#160;</div>
<div class="line"><a name="l02312"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html"> 2312</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html">DescriptorExtensions</a></div>
<div class="line"><a name="l02313"></a><span class="lineno"> 2313</span>&#160;    {</div>
<div class="line"><a name="l02317"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#ac17fbb2ba9c8ea6bdb87da00bbc6d2de"> 2317</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> IEnumerable&lt;IComponentDescriptor&gt; <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#ac17fbb2ba9c8ea6bdb87da00bbc6d2de">GetAllAncestors</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> cd)</div>
<div class="line"><a name="l02318"></a><span class="lineno"> 2318</span>&#160;        {</div>
<div class="line"><a name="l02319"></a><span class="lineno"> 2319</span>&#160;            HashSet&lt;IComponentDescriptor&gt; result = <span class="keyword">new</span> HashSet&lt;IComponentDescriptor&gt;();</div>
<div class="line"><a name="l02320"></a><span class="lineno"> 2320</span>&#160;            Queue&lt;IComponentDescriptor&gt; q = <span class="keyword">new</span> Queue&lt;IComponentDescriptor&gt;();</div>
<div class="line"><a name="l02321"></a><span class="lineno"> 2321</span>&#160;            q.Enqueue(cd);</div>
<div class="line"><a name="l02322"></a><span class="lineno"> 2322</span>&#160;            <span class="keywordflow">while</span> (q.Any())</div>
<div class="line"><a name="l02323"></a><span class="lineno"> 2323</span>&#160;            {</div>
<div class="line"><a name="l02324"></a><span class="lineno"> 2324</span>&#160;                <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> cur = q.Dequeue();</div>
<div class="line"><a name="l02325"></a><span class="lineno"> 2325</span>&#160;                <span class="keywordflow">if</span> (!result.Add(cur))</div>
<div class="line"><a name="l02326"></a><span class="lineno"> 2326</span>&#160;                    <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l02327"></a><span class="lineno"> 2327</span>&#160;                <span class="keywordflow">foreach</span> (<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> child <span class="keywordflow">in</span> cur.GetChildComponents())</div>
<div class="line"><a name="l02328"></a><span class="lineno"> 2328</span>&#160;                    q.Enqueue(child);</div>
<div class="line"><a name="l02329"></a><span class="lineno"> 2329</span>&#160;            }</div>
<div class="line"><a name="l02330"></a><span class="lineno"> 2330</span>&#160;            <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l02331"></a><span class="lineno"> 2331</span>&#160;        }</div>
<div class="line"><a name="l02332"></a><span class="lineno"> 2332</span>&#160;</div>
<div class="line"><a name="l02336"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#acc12896dfaad6c67d37fdb8679b98bee"> 2336</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#acc12896dfaad6c67d37fdb8679b98bee">GetBoundSignal</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> sd)</div>
<div class="line"><a name="l02337"></a><span class="lineno"> 2337</span>&#160;        {</div>
<div class="line"><a name="l02338"></a><span class="lineno"> 2338</span>&#160;            var pd = sd as <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html">IPortDescriptor</a>;</div>
<div class="line"><a name="l02339"></a><span class="lineno"> 2339</span>&#160;            var sad = sd as <a class="code" href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html">SignalArgumentDescriptor</a>;</div>
<div class="line"><a name="l02340"></a><span class="lineno"> 2340</span>&#160;            <span class="keywordflow">if</span> (pd != null)</div>
<div class="line"><a name="l02341"></a><span class="lineno"> 2341</span>&#160;                <span class="keywordflow">return</span> pd.BoundSignal;</div>
<div class="line"><a name="l02342"></a><span class="lineno"> 2342</span>&#160;            <span class="keywordflow">else</span> <span class="keywordflow">if</span> (sad != null)</div>
<div class="line"><a name="l02343"></a><span class="lineno"> 2343</span>&#160;                <span class="keywordflow">return</span> sad.SignalInstance.Descriptor;</div>
<div class="line"><a name="l02344"></a><span class="lineno"> 2344</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l02345"></a><span class="lineno"> 2345</span>&#160;                <span class="keywordflow">return</span> sd;</div>
<div class="line"><a name="l02346"></a><span class="lineno"> 2346</span>&#160;        }</div>
<div class="line"><a name="l02347"></a><span class="lineno"> 2347</span>&#160;</div>
<div class="line"><a name="l02354"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#a6ed1709a5bb59a372e99a4299b3facc2"> 2354</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#a6ed1709a5bb59a372e99a4299b3facc2">GetUnindexedContainer</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> sd, out <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> accIndex)</div>
<div class="line"><a name="l02355"></a><span class="lineno"> 2355</span>&#160;        {</div>
<div class="line"><a name="l02356"></a><span class="lineno"> 2356</span>&#160;            var stk = <span class="keyword">new</span> Stack&lt;SignalDescriptor&gt;();</div>
<div class="line"><a name="l02357"></a><span class="lineno"> 2357</span>&#160;            var sig = sd as <a class="code" href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html">SignalDescriptor</a>;</div>
<div class="line"><a name="l02358"></a><span class="lineno"> 2358</span>&#160;            <span class="keywordflow">while</span> (sig != null)</div>
<div class="line"><a name="l02359"></a><span class="lineno"> 2359</span>&#160;            {</div>
<div class="line"><a name="l02360"></a><span class="lineno"> 2360</span>&#160;                stk.Push(sig);</div>
<div class="line"><a name="l02361"></a><span class="lineno"> 2361</span>&#160;                sig = sig.Owner as SignalDescriptor;</div>
<div class="line"><a name="l02362"></a><span class="lineno"> 2362</span>&#160;            }</div>
<div class="line"><a name="l02363"></a><span class="lineno"> 2363</span>&#160;            <span class="keywordtype">bool</span> first = <span class="keyword">true</span>;</div>
<div class="line"><a name="l02364"></a><span class="lineno"> 2364</span>&#160;            <span class="keywordflow">if</span> (stk.Count &gt; 0)</div>
<div class="line"><a name="l02365"></a><span class="lineno"> 2365</span>&#160;            {</div>
<div class="line"><a name="l02366"></a><span class="lineno"> 2366</span>&#160;                var cur = stk.Pop();</div>
<div class="line"><a name="l02367"></a><span class="lineno"> 2367</span>&#160;                sd = cur;</div>
<div class="line"><a name="l02368"></a><span class="lineno"> 2368</span>&#160;                var idx = cur.Index;</div>
<div class="line"><a name="l02369"></a><span class="lineno"> 2369</span>&#160;                <span class="keywordflow">if</span> (first)</div>
<div class="line"><a name="l02370"></a><span class="lineno"> 2370</span>&#160;                    idx = idx.BaseAtZero();</div>
<div class="line"><a name="l02371"></a><span class="lineno"> 2371</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l02372"></a><span class="lineno"> 2372</span>&#160;                    first = <span class="keyword">false</span>;</div>
<div class="line"><a name="l02373"></a><span class="lineno"> 2373</span>&#160;                <span class="keywordflow">while</span> (stk.Count &gt; 0)</div>
<div class="line"><a name="l02374"></a><span class="lineno"> 2374</span>&#160;                    idx = stk.Pop().Index.ApplyTo(idx);</div>
<div class="line"><a name="l02375"></a><span class="lineno"> 2375</span>&#160;                accIndex = idx;</div>
<div class="line"><a name="l02376"></a><span class="lineno"> 2376</span>&#160;            }</div>
<div class="line"><a name="l02377"></a><span class="lineno"> 2377</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l02378"></a><span class="lineno"> 2378</span>&#160;            {</div>
<div class="line"><a name="l02379"></a><span class="lineno"> 2379</span>&#160;                <span class="comment">//accIndex = sd.ElementType.Index.BaseAtZero();</span></div>
<div class="line"><a name="l02380"></a><span class="lineno"> 2380</span>&#160;                accIndex = IndexSpec.Empty;</div>
<div class="line"><a name="l02381"></a><span class="lineno"> 2381</span>&#160;            }</div>
<div class="line"><a name="l02382"></a><span class="lineno"> 2382</span>&#160;            <span class="keywordflow">return</span> sd;</div>
<div class="line"><a name="l02383"></a><span class="lineno"> 2383</span>&#160;        }</div>
<div class="line"><a name="l02384"></a><span class="lineno"> 2384</span>&#160;</div>
<div class="line"><a name="l02390"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#af1fb0bf7b21b44a3fdfcdb9b85a6bec8"> 2390</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#af1fb0bf7b21b44a3fdfcdb9b85a6bec8">GetUnindexedContainer</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> sd)</div>
<div class="line"><a name="l02391"></a><span class="lineno"> 2391</span>&#160;        {</div>
<div class="line"><a name="l02392"></a><span class="lineno"> 2392</span>&#160;            <a class="code" href="class_system_sharp_1_1_data_types_1_1_index_spec.html">IndexSpec</a> dummy;</div>
<div class="line"><a name="l02393"></a><span class="lineno"> 2393</span>&#160;            <span class="keywordflow">return</span> GetUnindexedContainer(sd, out dummy);</div>
<div class="line"><a name="l02394"></a><span class="lineno"> 2394</span>&#160;        }</div>
<div class="line"><a name="l02395"></a><span class="lineno"> 2395</span>&#160;</div>
<div class="line"><a name="l02401"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#aaa5486be63db684e1ae409f68b7e3472"> 2401</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#aaa5486be63db684e1ae409f68b7e3472">AsSignalRef</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">ISignalOrPortDescriptor</a> sd, <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a>.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#ac2602b9335fc17657b0147b8b917c727">EReferencedProperty</a> prop)</div>
<div class="line"><a name="l02402"></a><span class="lineno"> 2402</span>&#160;        {</div>
<div class="line"><a name="l02403"></a><span class="lineno"> 2403</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a>(sd, prop);</div>
<div class="line"><a name="l02404"></a><span class="lineno"> 2404</span>&#160;        }</div>
<div class="line"><a name="l02405"></a><span class="lineno"> 2405</span>&#160;</div>
<div class="line"><a name="l02412"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#a3ad2f176add527d8edc20cc455436e9e"> 2412</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a> <a class="code" href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#a3ad2f176add527d8edc20cc455436e9e">RelateToComponent</a>(<span class="keyword">this</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a> sref, <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> cd)</div>
<div class="line"><a name="l02413"></a><span class="lineno"> 2413</span>&#160;        {</div>
<div class="line"><a name="l02414"></a><span class="lineno"> 2414</span>&#160;            var srefNorm = sref.AssimilateIndices();</div>
<div class="line"><a name="l02415"></a><span class="lineno"> 2415</span>&#160;</div>
<div class="line"><a name="l02416"></a><span class="lineno"> 2416</span>&#160;            srefNorm = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a>(</div>
<div class="line"><a name="l02417"></a><span class="lineno"> 2417</span>&#160;                srefNorm.Desc.GetBoundSignal(),</div>
<div class="line"><a name="l02418"></a><span class="lineno"> 2418</span>&#160;                srefNorm.Prop,</div>
<div class="line"><a name="l02419"></a><span class="lineno"> 2419</span>&#160;                srefNorm.Indices,</div>
<div class="line"><a name="l02420"></a><span class="lineno"> 2420</span>&#160;                srefNorm.IndexSample,</div>
<div class="line"><a name="l02421"></a><span class="lineno"> 2421</span>&#160;                srefNorm.IsStaticIndex);</div>
<div class="line"><a name="l02422"></a><span class="lineno"> 2422</span>&#160;</div>
<div class="line"><a name="l02423"></a><span class="lineno"> 2423</span>&#160;            srefNorm = srefNorm.AssimilateIndices();</div>
<div class="line"><a name="l02424"></a><span class="lineno"> 2424</span>&#160;</div>
<div class="line"><a name="l02425"></a><span class="lineno"> 2425</span>&#160;            <span class="keywordflow">if</span> (cd.GetSignals().Contains(srefNorm.Desc))</div>
<div class="line"><a name="l02426"></a><span class="lineno"> 2426</span>&#160;                <span class="keywordflow">return</span> srefNorm;</div>
<div class="line"><a name="l02427"></a><span class="lineno"> 2427</span>&#160;</div>
<div class="line"><a name="l02428"></a><span class="lineno"> 2428</span>&#160;            <span class="keywordflow">if</span> (srefNorm.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#aebd56e05f7fb6fcd6133fa130d7e14e0">IsStaticIndex</a>)</div>
<div class="line"><a name="l02429"></a><span class="lineno"> 2429</span>&#160;            {</div>
<div class="line"><a name="l02430"></a><span class="lineno"> 2430</span>&#160;                <span class="keywordflow">foreach</span> (var port <span class="keywordflow">in</span> cd.GetPorts())</div>
<div class="line"><a name="l02431"></a><span class="lineno"> 2431</span>&#160;                {</div>
<div class="line"><a name="l02432"></a><span class="lineno"> 2432</span>&#160;                    var portSigRef = port.GetBoundSignal()</div>
<div class="line"><a name="l02433"></a><span class="lineno"> 2433</span>&#160;                        .AsSignalRef(sref.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#acfcc3c47e681f132088a72a5b5b77c78">Prop</a>)</div>
<div class="line"><a name="l02434"></a><span class="lineno"> 2434</span>&#160;                        .AssimilateIndices();</div>
<div class="line"><a name="l02435"></a><span class="lineno"> 2435</span>&#160;</div>
<div class="line"><a name="l02436"></a><span class="lineno"> 2436</span>&#160;                    <span class="keywordflow">if</span> (portSigRef.Desc.Equals(srefNorm.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#a68324bf1bfa48a6009fa6a92646b6e16">Desc</a>))</div>
<div class="line"><a name="l02437"></a><span class="lineno"> 2437</span>&#160;                    {</div>
<div class="line"><a name="l02438"></a><span class="lineno"> 2438</span>&#160;                        <span class="keywordflow">try</span></div>
<div class="line"><a name="l02439"></a><span class="lineno"> 2439</span>&#160;                        {</div>
<div class="line"><a name="l02440"></a><span class="lineno"> 2440</span>&#160;                            var projIndex = portSigRef.IndexSample.Unproject(srefNorm.IndexSample);</div>
<div class="line"><a name="l02441"></a><span class="lineno"> 2441</span>&#160;                            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a>(</div>
<div class="line"><a name="l02442"></a><span class="lineno"> 2442</span>&#160;                                port, sref.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#acfcc3c47e681f132088a72a5b5b77c78">Prop</a>,</div>
<div class="line"><a name="l02443"></a><span class="lineno"> 2443</span>&#160;                                projIndex.AsExpressions(),</div>
<div class="line"><a name="l02444"></a><span class="lineno"> 2444</span>&#160;                                projIndex, <span class="keyword">true</span>);</div>
<div class="line"><a name="l02445"></a><span class="lineno"> 2445</span>&#160;                        }</div>
<div class="line"><a name="l02446"></a><span class="lineno"> 2446</span>&#160;                        <span class="keywordflow">catch</span> (ArgumentException)</div>
<div class="line"><a name="l02447"></a><span class="lineno"> 2447</span>&#160;                        {</div>
<div class="line"><a name="l02448"></a><span class="lineno"> 2448</span>&#160;                        }</div>
<div class="line"><a name="l02449"></a><span class="lineno"> 2449</span>&#160;                    }</div>
<div class="line"><a name="l02450"></a><span class="lineno"> 2450</span>&#160;                }</div>
<div class="line"><a name="l02451"></a><span class="lineno"> 2451</span>&#160;            }</div>
<div class="line"><a name="l02452"></a><span class="lineno"> 2452</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l02453"></a><span class="lineno"> 2453</span>&#160;            {</div>
<div class="line"><a name="l02454"></a><span class="lineno"> 2454</span>&#160;                var port = cd.GetPorts()</div>
<div class="line"><a name="l02455"></a><span class="lineno"> 2455</span>&#160;                    .Where(p =&gt; p.BoundSignal.Equals(srefNorm.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#a68324bf1bfa48a6009fa6a92646b6e16">Desc</a>))</div>
<div class="line"><a name="l02456"></a><span class="lineno"> 2456</span>&#160;                    .FirstOrDefault();</div>
<div class="line"><a name="l02457"></a><span class="lineno"> 2457</span>&#160;</div>
<div class="line"><a name="l02458"></a><span class="lineno"> 2458</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SignalRef</a>(</div>
<div class="line"><a name="l02459"></a><span class="lineno"> 2459</span>&#160;                    port, sref.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#acfcc3c47e681f132088a72a5b5b77c78">Prop</a>,</div>
<div class="line"><a name="l02460"></a><span class="lineno"> 2460</span>&#160;                    srefNorm.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#adcf8ef2034784cf8caace3564890fcbd">Indices</a>, srefNorm.<a class="code" href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#a958e7dad4aeb6805e40debdaace1e2b6">IndexSample</a>,</div>
<div class="line"><a name="l02461"></a><span class="lineno"> 2461</span>&#160;                    <span class="keyword">false</span>);</div>
<div class="line"><a name="l02462"></a><span class="lineno"> 2462</span>&#160;            }</div>
<div class="line"><a name="l02463"></a><span class="lineno"> 2463</span>&#160;</div>
<div class="line"><a name="l02464"></a><span class="lineno"> 2464</span>&#160;            <span class="keywordflow">return</span> null;</div>
<div class="line"><a name="l02465"></a><span class="lineno"> 2465</span>&#160;        }</div>
<div class="line"><a name="l02466"></a><span class="lineno"> 2466</span>&#160;    }</div>
<div class="line"><a name="l02467"></a><span class="lineno"> 2467</span>&#160;}</div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_int_to_zero_based_down_range_converter_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_down_range_converter.html">SystemSharp.Meta.IntToZeroBasedDownRangeConverter</a></div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01867">ComponentsReflection.cs:1867</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_instance_descriptor_html_a850c00fcb0eeedc32c5346718f606564"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a850c00fcb0eeedc32c5346718f606564">SystemSharp.Meta.InstanceDescriptor.RemoveIndex</a></div><div class="ttdeci">InstanceDescriptor RemoveIndex()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00739">ComponentsReflection.cs:739</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_descriptor_visitor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_descriptor_visitor.html">SystemSharp.Meta.IDescriptorVisitor</a></div><div class="ttdoc">Visitor interface for descriptors. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00046">ComponentsReflection.cs:46</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_component_descriptor_html_a4d26e36c22bf47c6da7264b9c8aca75d"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#a4d26e36c22bf47c6da7264b9c8aca75d">SystemSharp.Meta.ComponentDescriptor.AddDependency</a></div><div class="ttdeci">void AddDependency(PackageDescriptor pd)</div><div class="ttdoc">Make the described component dependent on the given package. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02131">ComponentsReflection.cs:2131</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a8b44231d043816b913a2581ed8f7d299"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a8b44231d043816b913a2581ed8f7d299">SystemSharp.Meta.Descriptors.FindComponent</a></div><div class="ttdeci">static IComponentDescriptor FindComponent(this IDescriptor me, string name)</div><div class="ttdoc">Retrieves the descriptor of the component with name name  from me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00632">ComponentsReflection.cs:632</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_contract_class_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html">SystemSharp.Meta.DescriptorContractClass</a></div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00240">ComponentsReflection.cs:240</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor_html_a9348c9cad0eba8ba5616006b1db27cb8"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a9348c9cad0eba8ba5616006b1db27cb8">SystemSharp.Meta.CILFieldDescriptor.IsWrittenInCurrentContext</a></div><div class="ttdeci">override bool IsWrittenInCurrentContext(DesignContext context)</div><div class="ttdoc">Returns true if the field is written by some process in context context . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00985">ComponentsReflection.cs:985</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_port_usage_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_port_usage.html">SystemSharp.Components.PortUsage</a></div><div class="ttdoc">This attribute is attached to port properties and gives a hint on how the tagged port is used...</div><div class="ttdef"><b>Definition:</b> <a href="_components_attributes_8cs_source.html#l01078">ComponentsAttributes.cs:1078</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a824f5611e60ab84dfd8ed3a3d83d0eef"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a824f5611e60ab84dfd8ed3a3d83d0eef">SystemSharp.Meta.Descriptors.GetTypes</a></div><div class="ttdeci">static IEnumerable&lt; TypeDescriptor &gt; GetTypes(this IDescriptor me)</div><div class="ttdoc">Returns all type descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00496">ComponentsReflection.cs:496</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_signal_descriptor_html_abc93790c09896150a17493ea24965e2d"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#abc93790c09896150a17493ea24965e2d">SystemSharp.Meta.SignalDescriptor.SignalDescriptor</a></div><div class="ttdeci">SignalDescriptor(SignalBase instance, TypeDescriptor elementType)</div><div class="ttdoc">Constructs a signal descriptor instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01189">ComponentsReflection.cs:1189</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_field_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_field_descriptor.html">SystemSharp.Meta.FieldDescriptor</a></div><div class="ttdoc">Describes a field. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00791">ComponentsReflection.cs:791</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a938407f0204a41f5d5633f8b597d8ca3"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a938407f0204a41f5d5633f8b597d8ca3">SystemSharp.Meta.Descriptors.GetArguments</a></div><div class="ttdeci">static IEnumerable&lt; ArgumentDescriptor &gt; GetArguments(this IDescriptor me)</div><div class="ttdoc">Returns all argument descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00592">ComponentsReflection.cs:592</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a013b5c21aee602334b639140a1eb1412"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a013b5c21aee602334b639140a1eb1412">SystemSharp.Meta.Descriptors.GetPackages</a></div><div class="ttdeci">static IEnumerable&lt; PackageDescriptor &gt; GetPackages(this IDescriptor me)</div><div class="ttdoc">Returns all package descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00600">ComponentsReflection.cs:600</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_instance_descriptor_html_ab240576cb19c6779e0006545a35932f9"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#ab240576cb19c6779e0006545a35932f9">SystemSharp.Meta.InstanceDescriptor.Name</a></div><div class="ttdeci">override string Name</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00716">ComponentsReflection.cs:716</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_descriptor_html_acb4785a73e32c9ebafec3a4a457571a5"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#acb4785a73e32c9ebafec3a4a457571a5">SystemSharp.Meta.PackageDescriptor.AddDependency</a></div><div class="ttdeci">void AddDependency(PackageDescriptor pd)</div><div class="ttdoc">Adds another package on which the described package depends. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02034">ComponentsReflection.cs:2034</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_document_html_a2c0bc4f0d247dd7dad6af23c30aa4795"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_document.html#a2c0bc4f0d247dd7dad6af23c30aa4795">SystemSharp.Meta.Document.Document</a></div><div class="ttdeci">Document(string name, object content)</div><div class="ttdoc">Constructs an instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00332">ComponentsReflection.cs:332</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html">SystemSharp.Meta.SignalArgumentDescriptor</a></div><div class="ttdoc">Describes a method argument which is a signal. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01396">ComponentsReflection.cs:1396</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor_html_add6d93286c5ad2e399fd9e036b9e0a99"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#add6d93286c5ad2e399fd9e036b9e0a99">SystemSharp.Meta.DefaultDescriptorVisitor.VisitMethodDescriptor</a></div><div class="ttdeci">void VisitMethodDescriptor(MethodDescriptor md)</div><div class="ttdoc">Called for method descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00158">ComponentsReflection.cs:158</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_aeda8b2a55a0767207cab9e2d0b4cb38d"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#aeda8b2a55a0767207cab9e2d0b4cb38d">SystemSharp.Meta.Descriptors.GetChannels</a></div><div class="ttdeci">static IEnumerable&lt; ChannelDescriptor &gt; GetChannels(this IDescriptor me)</div><div class="ttdoc">Returns all channel descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00536">ComponentsReflection.cs:536</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_attributed_object_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_attributed_object.html">SystemSharp.SysDOM.AttributedObject</a></div><div class="ttdoc">Provides a default implementation of the IAttributed interface. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l01032">CoreAlgebraic.cs:1032</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">SystemSharp.Meta.PackageDescriptor</a></div><div class="ttdoc">Describes a package. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01969">ComponentsReflection.cs:1969</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_extensions_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html">SystemSharp.Meta.DescriptorExtensions</a></div><div class="ttdoc">This static class provides convenience methods to work with descriptors. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02312">ComponentsReflection.cs:2312</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref_html_aebd56e05f7fb6fcd6133fa130d7e14e0"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#aebd56e05f7fb6fcd6133fa130d7e14e0">SystemSharp.SysDOM.SignalRef.IsStaticIndex</a></div><div class="ttdeci">bool IsStaticIndex</div><div class="ttdoc">Whether the applied signal index is static (i.e. constant) </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00565">Literals.cs:565</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_html_a61b4b57c3e1c931df0646b53b6910687"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a61b4b57c3e1c931df0646b53b6910687">SystemSharp.Meta.CodeDescriptor.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01621">ComponentsReflection.cs:1621</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_html_a12067632e5c4afe229fc08f0a4fe4688"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a12067632e5c4afe229fc08f0a4fe4688">SystemSharp.Meta.CodeDescriptor.CodeDescriptor</a></div><div class="ttdeci">CodeDescriptor(string name)</div><div class="ttdoc">Constructs a code descriptor instance without CLI information. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01567">ComponentsReflection.cs:1567</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_channel_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_channel_descriptor.html">SystemSharp.Meta.ChannelDescriptor</a></div><div class="ttdoc">The abstract base class for describing a channel. Each channel specialization should provide its own ...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00995">ComponentsReflection.cs:995</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_extensions_html_a3ad2f176add527d8edc20cc455436e9e"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#a3ad2f176add527d8edc20cc455436e9e">SystemSharp.Meta.DescriptorExtensions.RelateToComponent</a></div><div class="ttdeci">static SignalRef RelateToComponent(this SignalRef sref, IComponentDescriptor cd)</div><div class="ttdoc">Converts a signal reference with respect to a surrounding component. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02412">ComponentsReflection.cs:2412</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_instance_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html">SystemSharp.Meta.InstanceDescriptor</a></div><div class="ttdoc">Base class for all descriptors which describe an instance of IDescriptive. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00682">ComponentsReflection.cs:682</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a6e41b6f2d300bbd82a9ab9397025c17a"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a6e41b6f2d300bbd82a9ab9397025c17a">SystemSharp.Meta.Descriptors.FindSignal</a></div><div class="ttdeci">static ISignalDescriptor FindSignal(this IComponentDescriptor me, string name)</div><div class="ttdoc">Retrieves the descriptor of the signal with name name  from me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00656">ComponentsReflection.cs:656</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_instance_descriptor_html_a2ac096a29a845da1ef4ebf0a07530541"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a2ac096a29a845da1ef4ebf0a07530541">SystemSharp.Meta.InstanceDescriptor.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00726">ComponentsReflection.cs:726</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_contract_class_html_a83b7e46228671e32d83de6ace2d985ff"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a83b7e46228671e32d83de6ace2d985ff">SystemSharp.Meta.DescriptorContractClass.AddAttribute</a></div><div class="ttdeci">void AddAttribute(object attr)</div><div class="ttdoc">Attaches an attribute to this instance. The object type is used to identify the attribute. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00281">ComponentsReflection.cs:281</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_type_library_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_type_library.html">SystemSharp.Meta.TypeLibrary</a></div><div class="ttdoc">A type library hosts type descriptors. </div><div class="ttdef"><b>Definition:</b> <a href="_type_library_8cs_source.html#l00031">TypeLibrary.cs:31</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_descriptor_html_a09b387ec1bd6cb532c8c91c0defa6544"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a09b387ec1bd6cb532c8c91c0defa6544">SystemSharp.Meta.PackageDescriptor.AddChild</a></div><div class="ttdeci">override void AddChild(DescriptorBase desc, string name)</div><div class="ttdoc">Adds a descriptor to be logically contained inside the described package. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02066">ComponentsReflection.cs:2066</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_html_ab44b3f22a7a48500e4c7b0f2afa96ef5"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#ab44b3f22a7a48500e4c7b0f2afa96ef5">SystemSharp.Meta.CodeDescriptor.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01599">ComponentsReflection.cs:1599</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_extensions_html_af1fb0bf7b21b44a3fdfcdb9b85a6bec8"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#af1fb0bf7b21b44a3fdfcdb9b85a6bec8">SystemSharp.Meta.DescriptorExtensions.GetUnindexedContainer</a></div><div class="ttdeci">static ISignalOrPortDescriptor GetUnindexedContainer(this ISignalOrPortDescriptor sd)</div><div class="ttdoc">Removes any index constraints from the described signal or port. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02390">ComponentsReflection.cs:2390</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor_html_aef981ef270252f94a4cc6e5e8d7ce7f9"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#aef981ef270252f94a4cc6e5e8d7ce7f9">SystemSharp.Meta.CILFieldDescriptor.CILFieldDescriptor</a></div><div class="ttdeci">CILFieldDescriptor(FieldInfo field, object instance)</div><div class="ttdoc">Constructs an instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00876">ComponentsReflection.cs:876</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html_a52aa96c099f881cec83c8edb735a9309"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a52aa96c099f881cec83c8edb735a9309">SystemSharp.Meta.DescriptorBase.RemoveChild</a></div><div class="ttdeci">void RemoveChild(DescriptorBase desc)</div><div class="ttdoc">Removes a subordinate descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00416">ComponentsReflection.cs:416</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_signal_descriptor_html_a46d1fd19cbd775495e5fb18fddb3e3c6"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#a46d1fd19cbd775495e5fb18fddb3e3c6">SystemSharp.Meta.SignalDescriptor.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01252">ComponentsReflection.cs:1252</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_extensions_html_ac17fbb2ba9c8ea6bdb87da00bbc6d2de"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#ac17fbb2ba9c8ea6bdb87da00bbc6d2de">SystemSharp.Meta.DescriptorExtensions.GetAllAncestors</a></div><div class="ttdeci">static IEnumerable&lt; IComponentDescriptor &gt; GetAllAncestors(this IComponentDescriptor cd)</div><div class="ttdoc">Returns all sub-components which are directly or indirectly part of the given component descriptor...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02317">ComponentsReflection.cs:2317</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_type_parameter_html_aa7d51b1f382719c5713138ed7b15d821"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_type_parameter.html#aa7d51b1f382719c5713138ed7b15d821">SystemSharp.Meta.TypeParameter.TypeParameter</a></div><div class="ttdeci">TypeParameter(Type rangeConverter)</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01883">ComponentsReflection.cs:1883</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_ae60bdad2e7ef67ab65881a771a1a4cb1"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#ae60bdad2e7ef67ab65881a771a1a4cb1">SystemSharp.Meta.Descriptors.FindProcess</a></div><div class="ttdeci">static ProcessDescriptor FindProcess(this IDescriptor me, string name)</div><div class="ttdoc">Retrieves the descriptor of the process with name name  from me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00608">ComponentsReflection.cs:608</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a18fd732487e9bdceef54f476868c04c4"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a18fd732487e9bdceef54f476868c04c4">SystemSharp.Meta.Descriptors.GetPorts</a></div><div class="ttdeci">static IEnumerable&lt; IPortDescriptor &gt; GetPorts(this IDescriptor me)</div><div class="ttdoc">Returns all port descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00552">ComponentsReflection.cs:552</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_descriptive_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_descriptive.html">SystemSharp.Meta.IDescriptive</a></div><div class="ttdoc">Interface for all objects which are described by a descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00768">ComponentsReflection.cs:768</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_channel_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_channel.html">SystemSharp.Components.Channel</a></div><div class="ttdoc">This is the abstract base class for channels. </div><div class="ttdef"><b>Definition:</b> <a href="_signals_core_8cs_source.html#l00205">SignalsCore.cs:205</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_components_html_a1b363c1bde8fdda4245b1c5c616e328eaefeb369cccbd560588a756610865664c"><div class="ttname"><a href="namespace_system_sharp_1_1_components.html#a1b363c1bde8fdda4245b1c5c616e328eaefeb369cccbd560588a756610865664c">SystemSharp.Components.In</a></div><div class="ttdoc">Input direction </div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_method_descriptor_html_acb2f4579d219ce50be3f2b1c1f8c3f8a"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#acb2f4579d219ce50be3f2b1c1f8c3f8a">SystemSharp.Meta.MethodDescriptor.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdoc">Two method descriptors are considered equal iff the following conditions are fulfilled: 1...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01826">ComponentsReflection.cs:1826</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref_html_ac2602b9335fc17657b0147b8b917c727"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#ac2602b9335fc17657b0147b8b917c727">SystemSharp.SysDOM.SignalRef.EReferencedProperty</a></div><div class="ttdeci">EReferencedProperty</div><div class="ttdoc">Selects, which property of the signal is referenced </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00504">Literals.cs:504</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a624d7593b7673e30468fd24177478534"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a624d7593b7673e30468fd24177478534">SystemSharp.Meta.Descriptors.GetVariables</a></div><div class="ttdeci">static IEnumerable&lt; FieldDescriptor &gt; GetVariables(this IDescriptor me)</div><div class="ttdoc">Returns all non-constant field descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00512">ComponentsReflection.cs:512</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_extensions_html_a6ed1709a5bb59a372e99a4299b3facc2"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#a6ed1709a5bb59a372e99a4299b3facc2">SystemSharp.Meta.DescriptorExtensions.GetUnindexedContainer</a></div><div class="ttdeci">static ISignalOrPortDescriptor GetUnindexedContainer(this ISignalOrPortDescriptor sd, out IndexSpec accIndex)</div><div class="ttdoc">Removes any index constraints from the described signal or port. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02354">ComponentsReflection.cs:2354</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_process_descriptor_html_a8735674c8eeac56b191497652c3bacfa"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a8735674c8eeac56b191497652c3bacfa">SystemSharp.Meta.ProcessDescriptor.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdoc">Two process descriptors are considered equal iff they have the same owner and the same name...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01684">ComponentsReflection.cs:1684</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_descriptor_html_ad6f68007d8ea2f6894ac62ee9a8afda0"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#ad6f68007d8ea2f6894ac62ee9a8afda0">SystemSharp.Meta.PackageDescriptor.PackageDescriptor</a></div><div class="ttdeci">PackageDescriptor(string packageName)</div><div class="ttdoc">Constructs a package descriptor instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01985">ComponentsReflection.cs:1985</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_analysis_1_1_msil_html_a414dbb6e07d44baf0e522f23507f6b04"><div class="ttname"><a href="namespace_system_sharp_1_1_analysis_1_1_msil.html#a414dbb6e07d44baf0e522f23507f6b04">SystemSharp.Analysis.Msil.EVariability</a></div><div class="ttdeci">EVariability</div><div class="ttdoc">Variability classification </div><div class="ttdef"><b>Definition:</b> <a href="_variability_analysis_8cs_source.html#l00050">VariabilityAnalysis.cs:50</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_argument_descriptor_html_ae0050e8e4424c17987a5dc08ee4c3870"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#ae0050e8e4424c17987a5dc08ee4c3870">SystemSharp.Meta.ArgumentDescriptor.Sample</a></div><div class="ttdeci">object Sample</div><div class="ttdoc">Returns a sample value of the argument. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01331">ComponentsReflection.cs:1331</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_html_a61fb2f7d8cc185c38b674771d0cd9bb6"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a61fb2f7d8cc185c38b674771d0cd9bb6">SystemSharp.Meta.CodeDescriptor.AddDrivenSignal</a></div><div class="ttdeci">void AddDrivenSignal(ISignalOrPortDescriptor signal)</div><div class="ttdoc">Adds a port or signal descriptor to the list of driven signals. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01594">ComponentsReflection.cs:1594</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_signal_descriptor_html_abc0f987f4cfce81115025d6d75d1a76e"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#abc0f987f4cfce81115025d6d75d1a76e">SystemSharp.Meta.SignalDescriptor.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdoc">Two signal descriptors are considered equal iff they refer to the same signal instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01231">ComponentsReflection.cs:1231</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor_html_ad6fd75ea16cb99971bdca9b68780ac25"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#ad6fd75ea16cb99971bdca9b68780ac25">SystemSharp.Meta.CILFieldDescriptor.IsReadInCurrentContext</a></div><div class="ttdeci">override bool IsReadInCurrentContext(DesignContext context)</div><div class="ttdoc">Returns true if the field is read by some process in context context . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00980">ComponentsReflection.cs:980</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref_html_a68324bf1bfa48a6009fa6a92646b6e16"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#a68324bf1bfa48a6009fa6a92646b6e16">SystemSharp.SysDOM.SignalRef.Desc</a></div><div class="ttdeci">ISignalOrPortDescriptor Desc</div><div class="ttdoc">The referenced descriptor </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00545">Literals.cs:545</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_descriptor_html_a74e56d0fc29246d02c58166da54d8b1b"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a74e56d0fc29246d02c58166da54d8b1b">SystemSharp.Meta.PackageDescriptor.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02026">ComponentsReflection.cs:2026</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_type_parameter_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_type_parameter.html">SystemSharp.Meta.TypeParameter</a></div><div class="ttdoc">Declares an instance member of a data type as a type parameter. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01879">ComponentsReflection.cs:1879</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a67b0a76d146516d128cb8a86265575e8"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a67b0a76d146516d128cb8a86265575e8">SystemSharp.Meta.Descriptors.FindMethod</a></div><div class="ttdeci">static MethodDescriptor FindMethod(this IDescriptor me, string name)</div><div class="ttdoc">Retrieves the descriptor of the method with name name  from me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00616">ComponentsReflection.cs:616</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_html_a223dffef12b00e67f5c3a16a168d5de7"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a223dffef12b00e67f5c3a16a168d5de7">SystemSharp.Meta.CodeDescriptor.Method</a></div><div class="ttdeci">MethodBase Method</div><div class="ttdoc">CLI information on the actual method implementation. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01528">ComponentsReflection.cs:1528</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_aeaf5f74e873081c19b6f241b0ad8e446"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#aeaf5f74e873081c19b6f241b0ad8e446">SystemSharp.Meta.Descriptors.GetActiveMethods</a></div><div class="ttdeci">static IEnumerable&lt; MethodDescriptor &gt; GetActiveMethods(this IDescriptor me)</div><div class="ttdoc">Returns all active method descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00576">ComponentsReflection.cs:576</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor_html_ab092ac426f17429ba64f5d7a14d1faca"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#ab092ac426f17429ba64f5d7a14d1faca">SystemSharp.Meta.DefaultDescriptorVisitor.VisitSignalDescriptor</a></div><div class="ttdeci">void VisitSignalDescriptor(SignalDescriptor sd)</div><div class="ttdoc">Called for signal descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00148">ComponentsReflection.cs:148</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_containment_implementor_contract_class_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_containment_implementor_contract_class.html">SystemSharp.Meta.ContainmentImplementorContractClass</a></div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00185">ComponentsReflection.cs:185</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_design_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_design_descriptor.html">SystemSharp.Meta.DesignDescriptor</a></div><div class="ttdoc">Describes the overall design. This is the root component of the design hierarchy. ...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02171">ComponentsReflection.cs:2171</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor_html_ab4be544aca1e709aa62f826c26067a7a"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html#ab4be544aca1e709aa62f826c26067a7a">SystemSharp.Meta.PackageOrComponentDescriptor.AddDependency</a></div><div class="ttdeci">void AddDependency(PackageDescriptor pkg)</div><div class="ttdoc">Adds a package to the dependencies of the described element. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01939">ComponentsReflection.cs:1939</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html_a5e7a5551de1d315f389571d2fc4d4b77"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a5e7a5551de1d315f389571d2fc4d4b77">SystemSharp.Meta.DescriptorBase.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00391">ComponentsReflection.cs:391</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html">SystemSharp.Meta.CILFieldDescriptor</a></div><div class="ttdoc">Describes a field which is represented by a field of the Common Language Infrastructure (CLI)...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00859">ComponentsReflection.cs:859</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_method_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_method_descriptor.html">SystemSharp.Meta.MethodDescriptor</a></div><div class="ttdoc">Describes a method. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01702">ComponentsReflection.cs:1702</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor_html_a2e1c3400a34a29a838faff08bb3e665b"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a2e1c3400a34a29a838faff08bb3e665b">SystemSharp.Meta.DefaultDescriptorVisitor.VisitProcessDescriptor</a></div><div class="ttdeci">void VisitProcessDescriptor(ProcessDescriptor pd)</div><div class="ttdoc">Called for process descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00163">ComponentsReflection.cs:163</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor_html_ac0bc6d0542f20c2ea9296989af2fb9e4"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#ac0bc6d0542f20c2ea9296989af2fb9e4">SystemSharp.Meta.CILFieldDescriptor.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00929">ComponentsReflection.cs:929</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_package_or_component_descriptor.html">SystemSharp.Meta.IPackageOrComponentDescriptor</a></div><div class="ttdoc">This interface describes the common properties of packages and components. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01892">ComponentsReflection.cs:1892</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html_a0973a5e0f5fd08726533cba0725ec2df"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a0973a5e0f5fd08726533cba0725ec2df">SystemSharp.Meta.DescriptorBase.AddChild</a></div><div class="ttdeci">virtual void AddChild(DescriptorBase desc, string name)</div><div class="ttdoc">Adds a subordinate descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00405">ComponentsReflection.cs:405</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_variable_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_variable.html">SystemSharp.SysDOM.Variable</a></div><div class="ttdoc">A local variable. </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00195">Literals.cs:195</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_argument_descriptor_html_ac0d2035d7ec308f5de8b463b9c8bdb32"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#ac0d2035d7ec308f5de8b463b9c8bdb32">SystemSharp.Meta.ArgumentDescriptor.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01351">ComponentsReflection.cs:1351</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_documentation_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_documentation.html">SystemSharp.Meta.Documentation</a></div><div class="ttdoc">A container of multiple Documents. Instances of this class may be as properties attached to any descr...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00343">ComponentsReflection.cs:343</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html_a49c2d22f03fbc590b6e8b49c24b553ea"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a49c2d22f03fbc590b6e8b49c24b553ea">SystemSharp.Meta.DescriptorBase.AddChild</a></div><div class="ttdeci">virtual void AddChild(InstanceDescriptor desc, FieldInfo declSite, IndexSpec indexSpec)</div><div class="ttdoc">Adds a subordinate instance descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00396">ComponentsReflection.cs:396</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a4e3e8ce1c8ebc7a9d19f780e99b53b44"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a4e3e8ce1c8ebc7a9d19f780e99b53b44">SystemSharp.Meta.Descriptors.GetFields</a></div><div class="ttdeci">static IEnumerable&lt; FieldDescriptor &gt; GetFields(this IDescriptor me)</div><div class="ttdoc">Returns all field descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00504">ComponentsReflection.cs:504</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a8428e654178faf389c6493967e1e8d3a"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a8428e654178faf389c6493967e1e8d3a">SystemSharp.Meta.Descriptors.GetChildComponents</a></div><div class="ttdeci">static IEnumerable&lt; IComponentDescriptor &gt; GetChildComponents(this IDescriptor me)</div><div class="ttdoc">Returns all sub-component descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00528">ComponentsReflection.cs:528</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_descriptor_html_a1130bb0529e94734a7ebf22e0d014eb3"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a1130bb0529e94734a7ebf22e0d014eb3">SystemSharp.Meta.PackageDescriptor.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02005">ComponentsReflection.cs:2005</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_ordered_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_ordered.html">SystemSharp.Meta.IOrdered</a></div><div class="ttdoc">Anything which relies on a particular ordering among similar instances inside the same descriptor...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01261">ComponentsReflection.cs:1261</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_function_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_function.html">SystemSharp.SysDOM.Function</a></div><div class="ttdoc">Models a SysDOM function. </div><div class="ttdef"><b>Definition:</b> <a href="_algorithms_8cs_source.html#l01562">Algorithms.cs:1562</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_port_descriptor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_port_descriptor.html">SystemSharp.Meta.IPortDescriptor</a></div><div class="ttdoc">Describes a port. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01057">ComponentsReflection.cs:1057</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_design_descriptor_html_a4547090483b892c37b62d8e86e34c3a2"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#a4547090483b892c37b62d8e86e34c3a2">SystemSharp.Meta.DesignDescriptor.DesignDescriptor</a></div><div class="ttdeci">DesignDescriptor()</div><div class="ttdoc">Constructs a design descriptor instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02192">ComponentsReflection.cs:2192</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_int_to_zero_based_up_range_converter_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_up_range_converter.html">SystemSharp.Meta.IntToZeroBasedUpRangeConverter</a></div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01859">ComponentsReflection.cs:1859</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a3c33c56243edb7b8fb5957d54dce2de2"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a3c33c56243edb7b8fb5957d54dce2de2">SystemSharp.Meta.Descriptors.FindField</a></div><div class="ttdeci">static FieldDescriptor FindField(this IDescriptor me, string name)</div><div class="ttdoc">Retrieves the descriptor of the field with name name  from me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00640">ComponentsReflection.cs:640</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_port_descriptor_html_a89d20e0be19a01ae5d828040709536ad"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a89d20e0be19a01ae5d828040709536ad">SystemSharp.Meta.PortDescriptor.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01169">ComponentsReflection.cs:1169</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_design_descriptor_html_ad4004176f1044cc989b0094f082ebcda"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#ad4004176f1044cc989b0094f082ebcda">SystemSharp.Meta.DesignDescriptor.CreateEnum</a></div><div class="ttdeci">TypeDescriptor CreateEnum(string name, IEnumerable&lt; string &gt; fieldNames)</div><div class="ttdoc">Creates an enumeration type for a given set of literals. If an enumeration with the specified literal...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02255">ComponentsReflection.cs:2255</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_process_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_process_descriptor.html">SystemSharp.Meta.ProcessDescriptor</a></div><div class="ttdoc">Describes a process. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01630">ComponentsReflection.cs:1630</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a065c351473d738d1a6d2532a0e8ad30e"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a065c351473d738d1a6d2532a0e8ad30e">SystemSharp.Meta.Descriptors.GetProcesses</a></div><div class="ttdeci">static IEnumerable&lt; ProcessDescriptor &gt; GetProcesses(this IDescriptor me)</div><div class="ttdoc">Returns all process descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00584">ComponentsReflection.cs:584</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_component_builder_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_component_builder.html">SystemSharp.Meta.ComponentBuilder</a></div><div class="ttdoc">A component descriptor which exists in the SysDOM domain only, i.e. without a component instance...</div><div class="ttdef"><b>Definition:</b> <a href="_builders_8cs_source.html#l00037">Builders.cs:37</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a369d61443966677db43aeb66a5cbc664"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a369d61443966677db43aeb66a5cbc664">SystemSharp.Meta.Descriptors.GetConstants</a></div><div class="ttdeci">static IEnumerable&lt; FieldDescriptor &gt; GetConstants(this IDescriptor me)</div><div class="ttdoc">Returns all constant field descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00520">ComponentsReflection.cs:520</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_signal_descriptor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_signal_descriptor.html">SystemSharp.Meta.ISignalDescriptor</a></div><div class="ttdoc">Describes a signal. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01038">ComponentsReflection.cs:1038</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_int_to_zero_based_up_range_converter_html_a5e623e59c3fa6e7006563c147b625c58"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_up_range_converter.html#a5e623e59c3fa6e7006563c147b625c58">SystemSharp.Meta.IntToZeroBasedUpRangeConverter.ConvertToRange</a></div><div class="ttdeci">static Range ConvertToRange(int arg)</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01861">ComponentsReflection.cs:1861</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a6d58ad7d577a9dfe09dc41178a4ee7b9"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a6d58ad7d577a9dfe09dc41178a4ee7b9">SystemSharp.Meta.Descriptors.GetFullName</a></div><div class="ttdeci">static string GetFullName(this IDescriptor me)</div><div class="ttdoc">Computes the fully-qualified name of me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00664">ComponentsReflection.cs:664</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_document_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_document.html">SystemSharp.Meta.Document</a></div><div class="ttdoc">A document of SysDOM&#39;s integrated documentation system. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00315">ComponentsReflection.cs:315</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_descriptor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_descriptor.html">SystemSharp.Meta.IDescriptor</a></div><div class="ttdoc">Basic interface of all descriptors. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00198">ComponentsReflection.cs:198</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref_html_a958e7dad4aeb6805e40debdaace1e2b6"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#a958e7dad4aeb6805e40debdaace1e2b6">SystemSharp.SysDOM.SignalRef.IndexSample</a></div><div class="ttdeci">IndexSpec IndexSample</div><div class="ttdoc">Sample index </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00560">Literals.cs:560</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_argument_descriptor_html_a35212291f3789e8bd5c6b9603bfac471"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a35212291f3789e8bd5c6b9603bfac471">SystemSharp.Meta.ArgumentDescriptor.Variability</a></div><div class="ttdeci">EVariability Variability</div><div class="ttdoc">Returns the variability classification of the argument. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01339">ComponentsReflection.cs:1339</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_signal_descriptor_html_ab0914cb55d92d47a6c47da9afbc41e45"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html#ab0914cb55d92d47a6c47da9afbc41e45">SystemSharp.Meta.SignalDescriptor.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01244">ComponentsReflection.cs:1244</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_contract_class_html_af510b9967586c783901f7a15cd3ef802"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#af510b9967586c783901f7a15cd3ef802">SystemSharp.Meta.DescriptorContractClass.CopyAttributesFrom</a></div><div class="ttdeci">void CopyAttributesFrom(IAttributed other)</div><div class="ttdoc">Copies all attributes from another instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00306">ComponentsReflection.cs:306</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_port_descriptor_html_a93a0adf4c7174ff44caf448f49183a6d"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_port_descriptor.html#a93a0adf4c7174ff44caf448f49183a6d">SystemSharp.Meta.PortDescriptor.PortDescriptor</a></div><div class="ttdeci">PortDescriptor(PropertyInfo declSite, SignalDescriptor boundSignal, TypeDescriptor elementType, EPortDirection direction)</div><div class="ttdoc">Constructs a port descriptor instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01094">ComponentsReflection.cs:1094</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a7400fbc6539834702a48e6ced40095b8"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a7400fbc6539834702a48e6ced40095b8">SystemSharp.Meta.Descriptors.GetMethods</a></div><div class="ttdeci">static IEnumerable&lt; MethodDescriptor &gt; GetMethods(this IDescriptor me)</div><div class="ttdoc">Returns all method descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00568">ComponentsReflection.cs:568</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint_html_ab910cfb1867540938fcf597b1338584d"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html#ab910cfb1867540938fcf597b1338584d">SystemSharp.Meta.CodeDescriptor.ValueRangeConstraint.ValueRangeConstraint</a></div><div class="ttdeci">ValueRangeConstraint(long minValue, long maxValue)</div><div class="ttdoc">Constructs a new constraint. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01505">ComponentsReflection.cs:1505</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor_1_1_value_range_constraint.html">SystemSharp.Meta.CodeDescriptor.ValueRangeConstraint</a></div><div class="ttdoc">Describes a possible constraint on the value range of a variable. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01478">ComponentsReflection.cs:1478</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_meta_html_a400768ccf749afe72285f904fa31ccc2"><div class="ttname"><a href="namespace_system_sharp_1_1_meta.html#a400768ccf749afe72285f904fa31ccc2">SystemSharp.Meta.EPortDirection</a></div><div class="ttdeci">EPortDirection</div><div class="ttdoc">The data flow direction of a port </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01047">ComponentsReflection.cs:1047</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_data_types_html_a186276b2957914dc1704f6e0bec8214a"><div class="ttname"><a href="namespace_system_sharp_1_1_data_types.html#a186276b2957914dc1704f6e0bec8214a">SystemSharp.DataTypes.EDimDirection</a></div><div class="ttdeci">EDimDirection</div><div class="ttdoc">This enumeration is used to model the direction of a range. </div><div class="ttdef"><b>Definition:</b> <a href="_common_8cs_source.html#l00032">Common.cs:32</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_components_html_ad268018ef23fa93dc0631786a118b530"><div class="ttname"><a href="namespace_system_sharp_1_1_components.html#ad268018ef23fa93dc0631786a118b530">SystemSharp.Components.EPortUsage</a></div><div class="ttdeci">EPortUsage</div><div class="ttdoc">Usage class of a port </div><div class="ttdef"><b>Definition:</b> <a href="_components_attributes_8cs_source.html#l01041">ComponentsAttributes.cs:1041</a></div></div>
<div class="ttc" id="struct_system_sharp_1_1_data_types_1_1_range_html"><div class="ttname"><a href="struct_system_sharp_1_1_data_types_1_1_range.html">SystemSharp.DataTypes.Range</a></div><div class="ttdoc">A discrete range. </div><div class="ttdef"><b>Definition:</b> <a href="_common_8cs_source.html#l00047">Common.cs:47</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_contract_class_html_a92c6e158ed2b1f9a7a82606b59134bc8"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a92c6e158ed2b1f9a7a82606b59134bc8">SystemSharp.Meta.DescriptorContractClass.AddChild</a></div><div class="ttdeci">void AddChild(InstanceDescriptor desc, FieldInfo declSite, IndexSpec indexSpec)</div><div class="ttdoc">Adds a subordinate instance descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00253">ComponentsReflection.cs:253</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor_html_adf65107a238e6706ec34cfe34a10d583"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html#adf65107a238e6706ec34cfe34a10d583">SystemSharp.Meta.PackageOrComponentDescriptor.PackageOrComponentDescriptor</a></div><div class="ttdeci">PackageOrComponentDescriptor()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01935">ComponentsReflection.cs:1935</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_add2e26a75b39547e4dcb685b84489089"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#add2e26a75b39547e4dcb685b84489089">SystemSharp.Meta.Descriptors.FindMethod</a></div><div class="ttdeci">static MethodDescriptor FindMethod(this IDescriptor me, MethodBase method)</div><div class="ttdoc">Retrieves the descriptor of the method with reflection info method  from me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00624">ComponentsReflection.cs:624</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_contract_class_html_a545a3aa0b68b04d266c88009c211a0ca"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_contract_class.html#a545a3aa0b68b04d266c88009c211a0ca">SystemSharp.Meta.DescriptorContractClass.AddChild</a></div><div class="ttdeci">void AddChild(DescriptorBase desc, string name)</div><div class="ttdoc">Adds a subordinate descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00259">ComponentsReflection.cs:259</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_component_descriptor_html_ac650c0a779e8409fdac35a2d11393366"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_component_descriptor.html#ac650c0a779e8409fdac35a2d11393366">SystemSharp.Meta.ComponentDescriptor.ComponentDescriptor</a></div><div class="ttdeci">ComponentDescriptor(Component instance)</div><div class="ttdoc">Constructs a component descriptor instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02110">ComponentsReflection.cs:2110</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_rewrite_argument_declaration_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_rewrite_argument_declaration.html">SystemSharp.Components.RewriteArgumentDeclaration</a></div><div class="ttdoc">This attribute is attached to types (class or interface) and indicates that whenever the tagged type ...</div><div class="ttdef"><b>Definition:</b> <a href="_components_attributes_8cs_source.html#l00812">ComponentsAttributes.cs:812</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor.html">SystemSharp.Meta.CodeDescriptor</a></div><div class="ttdoc">This abstract class describes code in the CLI and SysDOM domain. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01472">ComponentsReflection.cs:1472</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_process_descriptor_html_a86f659ab32f71f4a0d1a02276f074b7a"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a86f659ab32f71f4a0d1a02276f074b7a">SystemSharp.Meta.ProcessDescriptor.ProcessDescriptor</a></div><div class="ttdeci">ProcessDescriptor(MethodBase method, SystemSharp.Components.Process instance)</div><div class="ttdoc">Constructs a process descriptor instance, based on an existing process. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01637">ComponentsReflection.cs:1637</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_design_context_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_design_context.html">SystemSharp.Components.DesignContext</a></div><div class="ttdoc">This class encapsulates the simulation context. Each design has an associated simulation context...</div><div class="ttdef"><b>Definition:</b> <a href="_design_context_8cs_source.html#l00047">DesignContext.cs:47</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_documentation_html_a331ea2d76408a53648e23438f68f4264"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_documentation.html#a331ea2d76408a53648e23438f68f4264">SystemSharp.Meta.Documentation.Documentation</a></div><div class="ttdeci">Documentation()</div><div class="ttdoc">Constructs an instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00353">ComponentsReflection.cs:353</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor_html_a8a85570fbab8cad9ef73feae2ab4a5e8"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#a8a85570fbab8cad9ef73feae2ab4a5e8">SystemSharp.Meta.CILFieldDescriptor.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00908">ComponentsReflection.cs:908</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_process_html_abe8ad6117328f0ed4386eb9f95036615"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_process.html#abe8ad6117328f0ed4386eb9f95036615">SystemSharp.Components.Process.EProcessKind</a></div><div class="ttdeci">EProcessKind</div><div class="ttdoc">Describes the kind of the process. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00807">ProcessCore.cs:807</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_port_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_port_descriptor.html">SystemSharp.Meta.PortDescriptor</a></div><div class="ttdoc">Describes a port. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01083">ComponentsReflection.cs:1083</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor_html_ad29429132c923aabddab5b486ac36e0d"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#ad29429132c923aabddab5b486ac36e0d">SystemSharp.Meta.DefaultDescriptorVisitor.DefaultDescriptorVisitor</a></div><div class="ttdeci">DefaultDescriptorVisitor()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00098">ComponentsReflection.cs:98</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_process_descriptor_html_acdac5a9e65a1b9bfe137b1e38e7c19cd"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#acdac5a9e65a1b9bfe137b1e38e7c19cd">SystemSharp.Meta.ProcessDescriptor.ProcessDescriptor</a></div><div class="ttdeci">ProcessDescriptor(string name)</div><div class="ttdoc">Constructs a process descriptor instance, without requiring an underlying existing process...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01651">ComponentsReflection.cs:1651</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_ad7be9031fbff2120e4651eea7ce1adbc"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#ad7be9031fbff2120e4651eea7ce1adbc">SystemSharp.Meta.Descriptors.FindPort</a></div><div class="ttdeci">static IPortDescriptor FindPort(this IComponentDescriptor me, string name)</div><div class="ttdoc">Retrieves the descriptor of the port with name name  from me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00648">ComponentsReflection.cs:648</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_extensions_html_acc12896dfaad6c67d37fdb8679b98bee"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#acc12896dfaad6c67d37fdb8679b98bee">SystemSharp.Meta.DescriptorExtensions.GetBoundSignal</a></div><div class="ttdeci">static ISignalOrPortDescriptor GetBoundSignal(this ISignalOrPortDescriptor sd)</div><div class="ttdoc">Returns the descriptor itself if it describes a signal, or the signal it is bound to if it describes ...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02336">ComponentsReflection.cs:2336</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_dependency_ordered_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_dependency_ordered.html">SystemSharp.Meta.IDependencyOrdered</a></div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01915">ComponentsReflection.cs:1915</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_sys_d_o_m_1_1_i_storable_html_a25497e3697adc951fc1a3b1f198a1275"><div class="ttname"><a href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_storable.html#a25497e3697adc951fc1a3b1f198a1275">SystemSharp.SysDOM.IStorable.Name</a></div><div class="ttdeci">string Name</div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00043">Literals.cs:43</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor_html_a6bb7cb2af3116e9350115d572fc16db9"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a6bb7cb2af3116e9350115d572fc16db9">SystemSharp.Meta.DefaultDescriptorVisitor.VisitFieldDescriptor</a></div><div class="ttdeci">void VisitFieldDescriptor(FieldDescriptor fd)</div><div class="ttdoc">Called for field descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00143">ComponentsReflection.cs:143</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html">SystemSharp.Meta.Descriptors</a></div><div class="ttdoc">This static class provides convenience methods for working with descriptors. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00475">ComponentsReflection.cs:475</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_html_a0d6b814ae600d2f6544759b5010c3129"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#a0d6b814ae600d2f6544759b5010c3129">SystemSharp.Meta.CodeDescriptor.CodeDescriptor</a></div><div class="ttdeci">CodeDescriptor(MethodBase method)</div><div class="ttdoc">Constructs a code descriptor instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01549">ComponentsReflection.cs:1549</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_signal_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_signal_descriptor.html">SystemSharp.Meta.SignalDescriptor</a></div><div class="ttdoc">Describes a signal. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01180">ComponentsReflection.cs:1180</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html_a659fe5e7e7ccc2c4edf257f3785312f5"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a659fe5e7e7ccc2c4edf257f3785312f5">SystemSharp.Meta.DescriptorBase.GetDesign</a></div><div class="ttdeci">DesignDescriptor GetDesign()</div><div class="ttdoc">Returns the root descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00443">ComponentsReflection.cs:443</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_type_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_type_descriptor.html">SystemSharp.Meta.TypeDescriptor</a></div><div class="ttdoc">Describes a type. </div><div class="ttdef"><b>Definition:</b> <a href="_type_descriptor_8cs_source.html#l00120">TypeDescriptor.cs:120</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_method_descriptor_html_a143f8032111b35be079e489bd819f47a"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#a143f8032111b35be079e489bd819f47a">SystemSharp.Meta.MethodDescriptor.MethodDescriptor</a></div><div class="ttdeci">MethodDescriptor(MethodBase method, object[] argValueSamples, EVariability[] argVariabilities)</div><div class="ttdoc">Constructs a method descriptor instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01710">ComponentsReflection.cs:1710</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html">SystemSharp.Meta.DefaultDescriptorVisitor</a></div><div class="ttdoc">The default implementation of the descriptor visitor pattern redirects to user-defined delegates whic...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00089">ComponentsReflection.cs:89</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_signal_base_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_signal_base.html">SystemSharp.Components.SignalBase</a></div><div class="ttdoc">This is the abstract base class of a signal. </div><div class="ttdef"><b>Definition:</b> <a href="_signals_core_8cs_source.html#l00338">SignalsCore.cs:338</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref_html_acfcc3c47e681f132088a72a5b5b77c78"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#acfcc3c47e681f132088a72a5b5b77c78">SystemSharp.SysDOM.SignalRef.Prop</a></div><div class="ttdeci">EReferencedProperty Prop</div><div class="ttdoc">The referenced property </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00550">Literals.cs:550</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_acecea4211eaebc3346a8d9aadb57c320"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#acecea4211eaebc3346a8d9aadb57c320">SystemSharp.Meta.Descriptors.GetSignals</a></div><div class="ttdeci">static IEnumerable&lt; ISignalDescriptor &gt; GetSignals(this IDescriptor me)</div><div class="ttdoc">Returns all signal descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00544">ComponentsReflection.cs:544</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_extensions_html_aaa5486be63db684e1ae409f68b7e3472"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_extensions.html#aaa5486be63db684e1ae409f68b7e3472">SystemSharp.Meta.DescriptorExtensions.AsSignalRef</a></div><div class="ttdeci">static SignalRef AsSignalRef(this ISignalOrPortDescriptor sd, SignalRef.EReferencedProperty prop)</div><div class="ttdoc">Represents the signal or port descriptor as signal reference. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02401">ComponentsReflection.cs:2401</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html_ab52954b2eb8ee36ef4b986d5ae4b787e"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#ab52954b2eb8ee36ef4b986d5ae4b787e">SystemSharp.Meta.DescriptorBase.GetDocumentation</a></div><div class="ttdeci">Documentation GetDocumentation()</div><div class="ttdoc">Retrieves the documentation container for this descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00456">ComponentsReflection.cs:456</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_argument_descriptor_html_a0d2c3d0006df8eb081e9ac4b25f1c570"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a0d2c3d0006df8eb081e9ac4b25f1c570">SystemSharp.Meta.ArgumentDescriptor.Direction</a></div><div class="ttdeci">EArgDirection Direction</div><div class="ttdoc">Returns the logical data-flow direction of the argument. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01323">ComponentsReflection.cs:1323</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_components_html_a1b363c1bde8fdda4245b1c5c616e328ea7c147cda9e49590f6abe83d118b7353b"><div class="ttname"><a href="namespace_system_sharp_1_1_components.html#a1b363c1bde8fdda4245b1c5c616e328ea7c147cda9e49590f6abe83d118b7353b">SystemSharp.Components.Out</a></div><div class="ttdoc">Output direction </div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_argument_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html">SystemSharp.Meta.ArgumentDescriptor</a></div><div class="ttdoc">Describes a method argument. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01272">ComponentsReflection.cs:1272</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_containment_implementor_contract_class_html_a7c2f3e38e2ab4c53180db0d01671c0ae"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_containment_implementor_contract_class.html#a7c2f3e38e2ab4c53180db0d01671c0ae">SystemSharp.Meta.ContainmentImplementorContractClass.SetOwner</a></div><div class="ttdeci">void SetOwner(DescriptorBase owner, MemberInfo declSite, IndexSpec indexSpec)</div><div class="ttdoc">Associates this model element with its owning descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00187">ComponentsReflection.cs:187</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_process_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_process.html">SystemSharp.Components.Process</a></div><div class="ttdoc">This class represents a process. </div><div class="ttdef"><b>Definition:</b> <a href="_process_core_8cs_source.html#l00794">ProcessCore.cs:794</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptors_html_a45c4ce519585aa27144a86b0683eda71"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptors.html#a45c4ce519585aa27144a86b0683eda71">SystemSharp.Meta.Descriptors.GetSignalArguments</a></div><div class="ttdeci">static IEnumerable&lt; SignalArgumentDescriptor &gt; GetSignalArguments(this IDescriptor me)</div><div class="ttdoc">Returns all signal argument descriptors owned by me . </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00560">ComponentsReflection.cs:560</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_data_types_1_1_index_spec_html"><div class="ttname"><a href="class_system_sharp_1_1_data_types_1_1_index_spec.html">SystemSharp.DataTypes.IndexSpec</a></div><div class="ttdoc">An index specifier is an aggregation of dimensional specifiers. </div><div class="ttdef"><b>Definition:</b> <a href="_common_8cs_source.html#l00475">Common.cs:475</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_code_descriptor_html_ac9d6480b0954c5c2a836534ee6e192b7"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_code_descriptor.html#ac9d6480b0954c5c2a836534ee6e192b7">SystemSharp.Meta.CodeDescriptor.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdoc">Two code descriptors are considered equal iff the have the same owner and the same name...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01607">ComponentsReflection.cs:1607</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_containment_implementor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_containment_implementor.html">SystemSharp.Meta.IContainmentImplementor</a></div><div class="ttdoc">This interface describes model elements which are owned by some superordinate descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00173">ComponentsReflection.cs:173</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_sys_d_o_m_1_1_i_attributed_html"><div class="ttname"><a href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_attributed.html">SystemSharp.SysDOM.IAttributed</a></div><div class="ttdoc">Common interface of objects that supported attached attributes. </div><div class="ttdef"><b>Definition:</b> <a href="_core_algebraic_8cs_source.html#l00945">CoreAlgebraic.cs:945</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html_a874f66f2d80c6e3931aec51883407ce2"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#a874f66f2d80c6e3931aec51883407ce2">SystemSharp.Meta.DescriptorBase.Owner</a></div><div class="ttdeci">virtual DescriptorBase Owner</div><div class="ttdoc">Owner of this descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00371">ComponentsReflection.cs:371</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_int_to_zero_based_down_range_converter_html_ae46703e35369613e5ee39f4f1e6ded51"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_int_to_zero_based_down_range_converter.html#ae46703e35369613e5ee39f4f1e6ded51">SystemSharp.Meta.IntToZeroBasedDownRangeConverter.ConvertToRange</a></div><div class="ttdeci">static Range ConvertToRange(int arg)</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01869">ComponentsReflection.cs:1869</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_signal_or_port_descriptor.html">SystemSharp.Meta.ISignalOrPortDescriptor</a></div><div class="ttdoc">Represents the common properties of either a signal or a port. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01016">ComponentsReflection.cs:1016</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_descriptor_html_adb0c21fadec98084cccf35f89cbd52ef"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#adb0c21fadec98084cccf35f89cbd52ef">SystemSharp.Meta.PackageDescriptor.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdoc">Two packages are considered equal iff they have the same name. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02013">ComponentsReflection.cs:2013</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor_html_ad28224dbb99782f7b88f68bcc3b3d3f1"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_c_i_l_field_descriptor.html#ad28224dbb99782f7b88f68bcc3b3d3f1">SystemSharp.Meta.CILFieldDescriptor.Equals</a></div><div class="ttdeci">override bool Equals(object obj)</div><div class="ttdoc">Two field descriptors are considered equal iff they belong to the same instance and same CLI field in...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00916">ComponentsReflection.cs:916</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html_ad80073d086e4c2e9eed2d8bbd35b6841"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html#ad80073d086e4c2e9eed2d8bbd35b6841">SystemSharp.Meta.DescriptorBase.DescriptorBase</a></div><div class="ttdeci">DescriptorBase()</div><div class="ttdoc">Constructs an instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00386">ComponentsReflection.cs:386</a></div></div>
<div class="ttc" id="namespace_system_sharp_1_1_components_html_a1b363c1bde8fdda4245b1c5c616e328ea47a54d9da8952a3980d27488b00a21c1"><div class="ttname"><a href="namespace_system_sharp_1_1_components.html#a1b363c1bde8fdda4245b1c5c616e328ea47a54d9da8952a3980d27488b00a21c1">SystemSharp.Components.InOut</a></div><div class="ttdoc">Mixed input and output </div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_type_descriptor_html_a65f47036b62019f1ba202998da3b539b"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_type_descriptor.html#a65f47036b62019f1ba202998da3b539b">SystemSharp.Meta.TypeDescriptor.IsByRef</a></div><div class="ttdeci">bool IsByRef</div><div class="ttdoc">Returns true if this descriptor describes a type reference. </div><div class="ttdef"><b>Definition:</b> <a href="_type_descriptor_8cs_source.html#l00347">TypeDescriptor.cs:347</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor_html_abb43cbdd3c1b83af043e2978029ab2c8"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#abb43cbdd3c1b83af043e2978029ab2c8">SystemSharp.Meta.DefaultDescriptorVisitor.VisitPortDescriptor</a></div><div class="ttdeci">void VisitPortDescriptor(PortDescriptor pd)</div><div class="ttdoc">Called for port descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00153">ComponentsReflection.cs:153</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_or_component_descriptor.html">SystemSharp.Meta.PackageOrComponentDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01929">ComponentsReflection.cs:1929</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_argument_descriptor_html_a65f93506ada44e4781bca6b48e03dbf6"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a65f93506ada44e4781bca6b48e03dbf6">SystemSharp.Meta.ArgumentDescriptor.EArgDirection</a></div><div class="ttdeci">EArgDirection</div><div class="ttdoc">Logical data direction of the argument </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01279">ComponentsReflection.cs:1279</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_argument_descriptor_html_a7d6edb3e4aff071801029f97f62c4ac1"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_argument_descriptor.html#a7d6edb3e4aff071801029f97f62c4ac1">SystemSharp.Meta.ArgumentDescriptor.ArgumentDescriptor</a></div><div class="ttdeci">ArgumentDescriptor(IStorableLiteral arg, EArgDirection dir, EVariability variability, int order)</div><div class="ttdoc">Constructs an argument descriptor instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01296">ComponentsReflection.cs:1296</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_method_descriptor_html_a00afcc3ec4db78cac6dc9f2b5892331c"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_method_descriptor.html#a00afcc3ec4db78cac6dc9f2b5892331c">SystemSharp.Meta.MethodDescriptor.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01848">ComponentsReflection.cs:1848</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref_html_adcf8ef2034784cf8caace3564890fcbd"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html#adcf8ef2034784cf8caace3564890fcbd">SystemSharp.SysDOM.SignalRef.Indices</a></div><div class="ttdeci">IEnumerable&lt; Expression[]&gt; Indices</div><div class="ttdoc">Indices to apply to the signal </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00555">Literals.cs:555</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_component_descriptor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">SystemSharp.Meta.IComponentDescriptor</a></div><div class="ttdoc">Base interface for component descriptors. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01923">ComponentsReflection.cs:1923</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_instance_descriptor_html_a7e0dcb1928a44e6c9bdcf621defd620c"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_instance_descriptor.html#a7e0dcb1928a44e6c9bdcf621defd620c">SystemSharp.Meta.InstanceDescriptor.InstanceDescriptor</a></div><div class="ttdeci">InstanceDescriptor(IDescriptive instance)</div><div class="ttdoc">Constructs an instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00689">ComponentsReflection.cs:689</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_process_descriptor_html_a9cd0938377b0bea72ddd9534cdbe1781"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_process_descriptor.html#a9cd0938377b0bea72ddd9534cdbe1781">SystemSharp.Meta.ProcessDescriptor.GetHashCode</a></div><div class="ttdeci">override int GetHashCode()</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01693">ComponentsReflection.cs:1693</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor_html_ab0d9becac2e16e7f49518b43e1afc2b0"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_signal_argument_descriptor.html#ab0d9becac2e16e7f49518b43e1afc2b0">SystemSharp.Meta.SignalArgumentDescriptor.SignalArgumentDescriptor</a></div><div class="ttdeci">SignalArgumentDescriptor(SignalRef sref, EArgDirection dir, EArgDirection flowDir, EVariability variability, int order)</div><div class="ttdoc">Constructs a signal argument descriptor instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01410">ComponentsReflection.cs:1410</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_component_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_component_descriptor.html">SystemSharp.Meta.ComponentDescriptor</a></div><div class="ttdoc">Describes a component. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02092">ComponentsReflection.cs:2092</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref_html"><div class="ttname"><a href="class_system_sharp_1_1_sys_d_o_m_1_1_signal_ref.html">SystemSharp.SysDOM.SignalRef</a></div><div class="ttdoc">Signal reference literal </div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00498">Literals.cs:498</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_component_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_component.html">SystemSharp.Components.Component</a></div><div class="ttdoc">The abstract base class for defining components. </div><div class="ttdef"><b>Definition:</b> <a href="_component_8cs_source.html#l00038">Component.cs:38</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor_html_a189662cbcda3d38a02be7a8f69a337e2"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_default_descriptor_visitor.html#a189662cbcda3d38a02be7a8f69a337e2">SystemSharp.Meta.DefaultDescriptorVisitor.VisitComponentDescriptor</a></div><div class="ttdeci">void VisitComponentDescriptor(ComponentDescriptor cd)</div><div class="ttdoc">Called for component descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00138">ComponentsReflection.cs:138</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_channel_descriptor_html_a1f1a6859c746b1c5ea0b5d83840a87eb"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_channel_descriptor.html#a1f1a6859c746b1c5ea0b5d83840a87eb">SystemSharp.Meta.ChannelDescriptor.ChannelDescriptor</a></div><div class="ttdeci">ChannelDescriptor(IDescriptive instance)</div><div class="ttdoc">Constructs an instance. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01002">ComponentsReflection.cs:1002</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_descriptor_base_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_descriptor_base.html">SystemSharp.Meta.DescriptorBase</a></div><div class="ttdoc">Base implementation of any descriptor. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l00362">ComponentsReflection.cs:362</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_design_descriptor_html_a8513ca0b39a1a9220902de911da5099f"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_design_descriptor.html#a8513ca0b39a1a9220902de911da5099f">SystemSharp.Meta.DesignDescriptor.CreateComponent</a></div><div class="ttdeci">ComponentBuilder CreateComponent(string name)</div><div class="ttdoc">Creates a new component inside the design. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02303">ComponentsReflection.cs:2303</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_sys_d_o_m_1_1_i_storable_literal_html"><div class="ttname"><a href="interface_system_sharp_1_1_sys_d_o_m_1_1_i_storable_literal.html">SystemSharp.SysDOM.IStorableLiteral</a></div><div class="ttdoc">Base interface for literals which may be used as left-hand side of an assignment. ...</div><div class="ttdef"><b>Definition:</b> <a href="_literals_8cs_source.html#l00083">Literals.cs:83</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bb5e995590685548b7e11478911ee7c3.html">SystemSharp-Google-SVN</a></li><li class="navelem"><a class="el" href="dir_8deefa4467a62b572b52d238d562b104.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_0e5a72156f8560bbc472a395da2569d6.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_9d3c30b4336bd92c64ccf0aeee487ace.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_ad565bad6a3a698eff681060b32310b3.html">Meta</a></li><li class="navelem"><a class="el" href="_components_reflection_8cs.html">ComponentsReflection.cs</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:21:37 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
